summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
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;
}