diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-31 20:38:01 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-31 20:38:01 +0000 |
commit | 82a23a3bd4ee9a350acbc22e2a2bf2f4409c6975 (patch) | |
tree | 80549eb09b8d6c527c483404d8455adddd132675 /src/map | |
parent | a6095fa832df5260845fdc2063acbb450fbc415c (diff) | |
download | hercules-82a23a3bd4ee9a350acbc22e2a2bf2f4409c6975.tar.gz hercules-82a23a3bd4ee9a350acbc22e2a2bf2f4409c6975.tar.bz2 hercules-82a23a3bd4ee9a350acbc22e2a2bf2f4409c6975.tar.xz hercules-82a23a3bd4ee9a350acbc22e2a2bf2f4409c6975.zip |
Fixed bug with banding, super mega ultra thanks to MarkZD for going after it.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16188 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/map/status.c b/src/map/status.c index 970029302..0d89f0118 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8781,15 +8781,12 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const } break; case SC_BANDING: - { - struct skill_unit_group *group; - if(sce->val4) - { - group = skill_id2group(sce->val4); + if(sce->val4) { + struct skill_unit_group *group = skill_id2group(sce->val4); sce->val4 = 0; - skill_delunitgroup(group); + if( group ) + skill_delunitgroup(group); } - } break; case SC_CURSEDCIRCLE_ATKER: if( sce->val3 ) |