Ver código fonte

[Fixed]:
pc.c to use unit_stop_attack()

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6842 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lance 19 anos atrás
pai
commit
94b0820fda
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/map/pc.c

+ 1 - 1
src/map/pc.c

@@ -4446,7 +4446,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
 			sd->pet.intimate = 0;
 		clif_send_petdata(sd,1,sd->pet.intimate);
 		if(sd->pd->target_id){ // Unlock all targets...
-			unit_unattackable(&sd->pd->bl);
+			unit_stop_attack(&sd->pd->bl);
 			sd->pd->target_id = 0;
 		}
 	}