summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-03-04 16:56:27 -0500
committergumi <git@gumi.ca>2018-03-04 16:56:27 -0500
commitc58cbd9adea1c87da56d36eea222aa8932dc3835 (patch)
tree9662b5fce4e20b50cb385d40364f8ed5c0c66bd8 /src/map
parent3a1e762a4b02522fa88989158ebe02f28f73f22c (diff)
downloadtmwa-c58cbd9adea1c87da56d36eea222aa8932dc3835.tar.gz
tmwa-c58cbd9adea1c87da56d36eea222aa8932dc3835.tar.bz2
tmwa-c58cbd9adea1c87da56d36eea222aa8932dc3835.tar.xz
tmwa-c58cbd9adea1c87da56d36eea222aa8932dc3835.zip
send base level where appropriate
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index 9f837db..4aad3e4 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -680,6 +680,7 @@ void clif_set0078_main_1d8(dumb_ptr<map_session_data> sd, Buffer& buf)
fixed_1d8.pos.dir = sd->dir;
fixed_1d8.gm_bits = pc_isGM(sd).get_public_word();
fixed_1d8.dead_sit = sd->state.dead_sit;
+ fixed_1d8.base_level = sd->status.base_level;
fixed_1d8.unused = 0;
buf = create_fpacket<0x01d8, 54>(fixed_1d8);
@@ -733,7 +734,8 @@ void clif_set0078_alt_1d9(dumb_ptr<map_session_data> sd, Buffer& buf)
fixed_1d8.pos.y = sd->bl_y;
fixed_1d8.pos.dir = sd->dir;
fixed_1d8.gm_bits = pc_isGM(sd).get_public_word();
- fixed_1d8.unused = 0;
+ fixed_1d8.dead_sit = sd->state.dead_sit;
+ fixed_1d8.base_level = sd->status.base_level;
buf = create_fpacket<0x01d9, 53>(fixed_1d8);
}
@@ -790,6 +792,7 @@ void clif_set007b(dumb_ptr<map_session_data> sd, Buffer& buf)
fixed_1da.pos2.y1 = sd->to_y;
fixed_1da.gm_bits = pc_isGM(sd).get_public_word();
fixed_1da.five = 5;
+ fixed_1da.base_level = sd->status.base_level;
fixed_1da.unused = 0;
buf = create_fpacket<0x01da, 60>(fixed_1da);