From 0cdc936ea83fe265fb6bd1d128b10ff6b53e6254 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Oct 2015 02:15:38 +0300 Subject: Add missing check in receiving being packets. --- src/net/eathena/beingrecv.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net/eathena/beingrecv.cpp') 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); + } } } -- cgit v1.2.3-60-g2f50