Explorar el Código

* A typo on my last commit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13748 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish hace 16 años
padre
commit
c36c82150a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/map/npc.c

+ 1 - 1
src/map/npc.c

@@ -1460,7 +1460,7 @@ int npc_unload(struct npc_data* nd)
 			{
 				const struct TimerData *td = get_timer(sd->npc_timer_id);
 
-				if( td && td->id == nd->bl.id )
+				if( td && td->id != nd->bl.id )
 					continue;
 
 				if( td && td->data )