From 8c01ccc448ce7ba067ece0e0dbc524671754494a Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 3 Jul 2006 14:39:15 +0000 Subject: - Fixed a compile warning in login sql/txt - Fixed pc_makesavestatus not setting your logout position. - Fixed the UF * flags of Songs/Dances in skill_unit_db. - Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE. - Added the missing +100% damage modifier of Enchant Deadly Poison. - Fixed SkillStatusChangeTable not working correctly for Homun/Guild skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7454 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index e9821bcd5..5f2db6d12 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4653,8 +4653,8 @@ int clif_skill_setunit(struct skill_unit *unit) WBUFL(buf, 6)=unit->group->src_id; WBUFW(buf,10)=unit->bl.x; WBUFW(buf,12)=unit->bl.y; - if (unit->group->state.song_dance && unit->val1 == BA_DISSONANCE) { - WBUFB(buf,14)=UNT_DISSONANCE; + if (unit->group->state.song_dance && unit->val2&UF_ENSEMBLE) { + WBUFB(buf,14)=unit->val2&UF_SONG?UNT_DISSONANCE:UNT_UGLYDANCE; } else { WBUFB(buf,14)=unit->group->unit_id; } @@ -4671,8 +4671,8 @@ int clif_skill_setunit(struct skill_unit *unit) WBUFL(buf, 6)=unit->group->src_id; WBUFW(buf,10)=unit->bl.x; WBUFW(buf,12)=unit->bl.y; - if (unit->group->state.song_dance && unit->val1 == BA_DISSONANCE) { - WBUFB(buf,14)=UNT_DISSONANCE; + if (unit->group->state.song_dance && unit->val2&UF_ENSEMBLE) { + WBUFB(buf,14)=unit->val2&UF_SONG?UNT_DISSONANCE:UNT_UGLYDANCE; } else { WBUFB(buf,14)=unit->group->unit_id; } -- cgit v1.2.3-70-g09d2