From 8f6a6d949ee9f2fdeb85d1bb9348c7abc7c12af1 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Wed, 25 Nov 2009 00:18:51 +0000 Subject: Fixed damage doesn't cancel status changes.(followed up to r14164) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14169 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/status.c b/src/map/status.c index 78fcc742d..9b3482d83 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -669,7 +669,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s if( battle_config.invincible_nodamage && src && sc && sc->data[SC_INVINCIBLE] && !sc->data[SC_INVINCIBLEOFF] ) hp = 1; - if( hp && !(flag&1|8) ) { + if( hp && !(flag&(1|8)) ) { if( sc ) { struct status_change_entry *sce; if( (sce = sc->data[SC_DEVOTION]) && src && battle_getcurrentskill(src) != PA_PRESSURE ) -- cgit v1.2.3-70-g09d2