summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-25 10:42:47 -0300
committershennetsind <ind@henn.et>2013-04-25 10:42:47 -0300
commit29007aacf3efba63fe88b80f59bfaa824cdc5709 (patch)
tree76da729d2ab90ff0ea7c570763704e1499928694
parent64dca8681c90dca15009fb82e54154d3faf3b1d6 (diff)
downloadhercules-29007aacf3efba63fe88b80f59bfaa824cdc5709.tar.gz
hercules-29007aacf3efba63fe88b80f59bfaa824cdc5709.tar.bz2
hercules-29007aacf3efba63fe88b80f59bfaa824cdc5709.tar.xz
hercules-29007aacf3efba63fe88b80f59bfaa824cdc5709.zip
Follow up 064a4ecf07689e8ee673bb17e5cf342ae3cdd585
Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index c026f1566..19ac1df9c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -851,7 +851,7 @@ void clif_set_unit_idle(struct block_list* bl, struct map_session_data *tsd, enu
#endif
p.GID = bl->id;
p.speed = status_get_speed(bl);
- p.bodypalette = (sc) ? sc->opt1 : 0;
+ p.bodyState = (sc) ? sc->opt1 : 0;
p.healthState = (sc) ? sc->opt2 : 0;
p.effectState = (sc) ? sc->option : 0;
p.job = vd->class_;
@@ -1093,7 +1093,7 @@ void clif_spawn_unit(struct block_list* bl, enum send_target target) {
#endif
p.GID = bl->id;
p.speed = status_get_speed(bl);
- p.bodypalette = (sc) ? sc->opt1 : 0;
+ p.bodyState = (sc) ? sc->opt1 : 0;
p.healthState = (sc) ? sc->opt2 : 0;
p.effectState = (sc) ? sc->option : 0;
p.job = vd->class_;
@@ -1172,7 +1172,7 @@ void clif_set_unit_walking(struct block_list* bl, struct map_session_data *tsd,
#endif
p.GID = bl->id;
p.speed = status_get_speed(bl);
- p.bodypalette = (sc) ? sc->opt1 : 0;
+ p.bodyState = (sc) ? sc->opt1 : 0;
p.healthState = (sc) ? sc->opt2 : 0;
p.effectState = (sc) ? sc->option : 0;
p.job = vd->class_;