summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-03 14:39:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-03 14:39:15 +0000
commit8c01ccc448ce7ba067ece0e0dbc524671754494a (patch)
treef853883aca2709e637104aecbcc298cc2d8a51f2 /src/map/clif.c
parentb5febfe0a8d95d69ba8de291994993fabc5d718a (diff)
downloadhercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.tar.gz
hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.tar.bz2
hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.tar.xz
hercules-8c01ccc448ce7ba067ece0e0dbc524671754494a.zip
- 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
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 4 insertions, 4 deletions
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;
}