ソースを参照

reverting r16476, for 1) after extensive debugging cookie and I found out it wasn't related to the crashes on the report and 2) it breaks the official behavior of reflect shield.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16484 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 年 前
コミット
c2a83e1579
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/map/battle.c

+ 1 - 1
src/map/battle.c

@@ -200,7 +200,7 @@ int battle_delay_damage_sub(int tid, unsigned int tick, int id, intptr_t data)
 {
 	struct delay_damage *dat = (struct delay_damage *)data;
 
-	if ( dat && dat->target && map_id2bl(id) == dat->src && dat->target->prev != NULL && !status_isdead(dat->target) ) {
+	if ( dat && dat->target && dat->target->prev != NULL && !status_isdead(dat->target) ) { 
 		if( dat->src && dat->src->prev != NULL && id == dat->src->id &&
 			dat->target->m == dat->src->m &&
 			(dat->target->type != BL_PC || ((TBL_PC*)dat->target)->invincible_timer == INVALID_TIMER) &&