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
This commit is contained in:
shennetsind 2012-07-23 15:14:14 +00:00
parent 041d671412
commit c2a83e1579

View File

@ -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) &&