From 681578949d8f20791616638ce5a819c598026339 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 11 Oct 2008 11:10:04 +0000 Subject: Code improvement for r13279. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13280 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/map/status.c b/src/map/status.c index cd3c2ff15..34420ef2c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5488,12 +5488,10 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val break; //Permanent effects. - case SC_WEIGHT90: - unit_stop_attack(bl); - // fall through case SC_AETERNA: case SC_MODECHANGE: case SC_WEIGHT50: + case SC_WEIGHT90: case SC_BROKENWEAPON: case SC_BROKENARMOR: case SC_READYSTORM: @@ -6141,6 +6139,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val case SC_HIDING: case SC_CLOAKING: case SC_CHASEWALK: + case SC_WEIGHT90: unit_stop_attack(bl); break; case SC_SILENCE: -- cgit v1.2.3-70-g09d2