diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-05 18:28:39 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-05 18:28:39 -0700 |
commit | e591d5b6d891516476aaf12808f4d3b3506e5f92 (patch) | |
tree | 4c935c94feb1fb145b17b6bc1ca9ddcc4ab290ed /src/map/clif.cpp | |
parent | 70214054e84b920ca3bea5119bd5d1456c809054 (diff) | |
download | tmwa-e591d5b6d891516476aaf12808f4d3b3506e5f92.tar.gz tmwa-e591d5b6d891516476aaf12808f4d3b3506e5f92.tar.bz2 tmwa-e591d5b6d891516476aaf12808f4d3b3506e5f92.tar.xz tmwa-e591d5b6d891516476aaf12808f4d3b3506e5f92.zip |
Remove direct packet buffer item assignments (not clones)
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r-- | src/map/clif.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 8287b18..45c9c13 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -3908,9 +3908,10 @@ void clif_parse_Emotion(int fd, dumb_ptr<map_session_data> sd) if (battle_config.basic_skill_check == 0 || pc_checkskill(sd, SkillID::NV_EMOTE) >= 1) { + uint8_t emote = RFIFOB(fd, 2); WBUFW(buf, 0) = 0xc0; WBUFL(buf, 2) = sd->bl_id; - WBUFB(buf, 6) = RFIFOB(fd, 2); + WBUFB(buf, 6) = emote; clif_send(buf, clif_parse_func_table[0xc0].len, sd, SendWho::AREA); } else |