From 7b38e4438224a2d22cbf53efb1bb8e554c9f36d7 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Thu, 4 Oct 2012 19:44:48 -0300 Subject: [PATCH] Fix issue #105 --- src/otclient/protocolgameparse.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/otclient/protocolgameparse.cpp b/src/otclient/protocolgameparse.cpp index 34765464..d0686126 100644 --- a/src/otclient/protocolgameparse.cpp +++ b/src/otclient/protocolgameparse.cpp @@ -1461,11 +1461,6 @@ Outfit ProtocolGame::getOutfit(const InputMessagePtr& msg) outfit.setLegs(legs); outfit.setFeet(feet); outfit.setAddons(addons); - - if(g_game.getFeature(Otc::GamePlayerMounts)) { - int mount = msg->getU16(); - outfit.setMount(mount); - } } else { int lookTypeEx = msg->getU16(); @@ -1479,6 +1474,10 @@ Outfit ProtocolGame::getOutfit(const InputMessagePtr& msg) } } + if(g_game.getFeature(Otc::GamePlayerMounts)) { + int mount = msg->getU16(); + outfit.setMount(mount); + } return outfit; }