diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-06-15 14:00:27 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-06-15 14:00:27 +0000 |
commit | 00be89f64050ff5373a63cc599f533f57ffaead1 (patch) | |
tree | d6ffded38d53e36cf5075a62242c8a03b21e13b0 /src/map/skill.h | |
parent | 2503f4ca66cfd8c7014d099883ca696082c27a39 (diff) | |
download | hercules-00be89f64050ff5373a63cc599f533f57ffaead1.tar.gz hercules-00be89f64050ff5373a63cc599f533f57ffaead1.tar.bz2 hercules-00be89f64050ff5373a63cc599f533f57ffaead1.tar.xz hercules-00be89f64050ff5373a63cc599f533f57ffaead1.zip |
Improving the r13888 crashfix to cover similar crash scenarios discovered:
Reordered code in status_change_end(SC_DANCING) so that an ensemble's skill unit group is deleted only after removing both performers' status changes.
Modified the call to skill_delunitgroup() IN status_change_end(SC_DANCING) so that it always processes the group's true owner and not others (bugreport:3253).
Replaced calls to skill_stop_dancing() with status_change_end(SC_DANCING), since it now provides identical functionality.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13891 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r-- | src/map/skill.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/skill.h b/src/map/skill.h index b6495538e..bb1e10ef3 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -302,7 +302,6 @@ int skill_unit_move(struct block_list *bl,unsigned int tick,int flag); int skill_unit_move_unit_group( struct skill_unit_group *group, int m,int dx,int dy); struct skill_unit_group *skill_check_dancing( struct block_list *src ); -void skill_stop_dancing(struct block_list *src); // Guild skills [celest] int skill_guildaura_sub (struct block_list *bl,va_list ap); |