mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
Fix issue #105
This commit is contained in:
parent
8119428d41
commit
7b38e44382
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user