summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-28 02:15:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-28 02:15:38 +0300
commit0cdc936ea83fe265fb6bd1d128b10ff6b53e6254 (patch)
tree392bf89b8be0de0773ff41d834f490dc4d362c33 /src
parent2433741a77ba0f08f4243a9482d3cf95cfe9edf3 (diff)
downloadplus-0cdc936ea83fe265fb6bd1d128b10ff6b53e6254.tar.gz
plus-0cdc936ea83fe265fb6bd1d128b10ff6b53e6254.tar.bz2
plus-0cdc936ea83fe265fb6bd1d128b10ff6b53e6254.tar.xz
plus-0cdc936ea83fe265fb6bd1d128b10ff6b53e6254.zip
Add missing check in receiving being packets.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beingrecv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 590d86cad..a17a58e75 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1388,10 +1388,10 @@ void BeingRecv::processBeingAttrs(Net::MessageIn &msg)
if (dstBeing)
dstBeing->setGM(false);
}
- }
- if (haveMount)
- {
- dstBeing->setHorse(mount);
+ if (haveMount)
+ {
+ dstBeing->setHorse(mount);
+ }
}
}