This commit is contained in:
Eduardo Bart 2012-10-04 19:44:48 -03:00
parent 8119428d41
commit 7b38e44382
1 changed files with 4 additions and 5 deletions

View File

@ -1461,11 +1461,6 @@ Outfit ProtocolGame::getOutfit(const InputMessagePtr& msg)
outfit.setLegs(legs); outfit.setLegs(legs);
outfit.setFeet(feet); outfit.setFeet(feet);
outfit.setAddons(addons); outfit.setAddons(addons);
if(g_game.getFeature(Otc::GamePlayerMounts)) {
int mount = msg->getU16();
outfit.setMount(mount);
}
} }
else { else {
int lookTypeEx = msg->getU16(); 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; return outfit;
} }