summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 06:12:42 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 06:12:42 +0000
commited96cad9ab04308904437680b26332825e4c73c1 (patch)
treec27ce1a1f8ee13c6fce361e5289b701d0312b281 /src/map/status.c
parenta5b998797c29b27f144882abe40def2c8fc49e50 (diff)
downloadhercules-ed96cad9ab04308904437680b26332825e4c73c1.tar.gz
hercules-ed96cad9ab04308904437680b26332825e4c73c1.tar.bz2
hercules-ed96cad9ab04308904437680b26332825e4c73c1.tar.xz
hercules-ed96cad9ab04308904437680b26332825e4c73c1.zip
Fixed White Imprison not going off, bugreport:5249
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15714 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 340e58b8a..de91e4eba 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -8493,8 +8493,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case SC_WHITEIMPRISON:
if( tid == -1 )
break; // Terminated by Damage
- clif_damage(bl,bl,0,0,0,400*sce->val1,0,0,0);
- status_zap(bl,400*sce->val1,0);
+ status_fix_damage(bl,bl,400*sce->val1,clif_damage(bl,bl,gettick(),0,0,400*sce->val1,0,0,0));
break;
case SC_WUGDASH:
{
@@ -8570,6 +8569,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case SC_SLEEP:
case SC_DEEPSLEEP:
case SC_BURNING:
+ case SC_WHITEIMPRISON:
sc->opt1 = 0;
break;