summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 11:10:04 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 11:10:04 +0000
commit681578949d8f20791616638ce5a819c598026339 (patch)
tree697c0c1afb9e479800d42feaf523873abae8f9d1
parent0c05afd837fc443fa8800b9c4a650441872e65a5 (diff)
downloadhercules-681578949d8f20791616638ce5a819c598026339.tar.gz
hercules-681578949d8f20791616638ce5a819c598026339.tar.bz2
hercules-681578949d8f20791616638ce5a819c598026339.tar.xz
hercules-681578949d8f20791616638ce5a819c598026339.zip
Code improvement for r13279.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13280 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/status.c5
1 files 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: