diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-11-27 13:37:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-27 13:37:50 -0500 |
commit | ba4519c3bdd23aec75ecf96e688d9e65e267d256 (patch) | |
tree | 0cd2bca0cd5f6b2b19994530e806e12e42e9d83d /src/map/clif.cpp | |
parent | f604a13e791eecdef273d517f7f6f566383cde28 (diff) | |
parent | 872a913d2d3958f4010119b037b8b32cdc67566f (diff) | |
download | tmwa-16.11.28.tar.gz tmwa-16.11.28.tar.bz2 tmwa-16.11.28.tar.xz tmwa-16.11.28.zip |
Merge pull request #232 from mekolat/tilesv16.11.28
bug roundup
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r-- | src/map/clif.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 57c9dcb..9518504 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -3930,6 +3930,8 @@ void clif_update_collision(dumb_ptr<map_session_data> sd, short x1, short y1, { nullpo_retv(sd); + VString<15> gat_name = STRPRINTF("%s.gat"_fmt, map_name); + Packet_Fixed<0x0231> fixed_231; fixed_231.x1 = x1; fixed_231.y1 = y1; @@ -3937,7 +3939,7 @@ void clif_update_collision(dumb_ptr<map_session_data> sd, short x1, short y1, fixed_231.y2 = y2; fixed_231.mask = mask; fixed_231.unused_layer = 0; - fixed_231.map = map_name; + fixed_231.map = gat_name; Buffer buf = create_fpacket<0x0231, 34>(fixed_231); clif_send(buf, sd, SendWho::SELF, wrap<ClientVersion>(7)); |