diff --git a/src/client/game.cpp b/src/client/game.cpp index 683157d4..8a9e8e1d 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -431,14 +431,14 @@ void Game::processRemoveAutomapFlag(const Position& pos, int icon, const std::st g_lua.callGlobalField("g_game", "onRemoveAutomapFlag", pos, icon, message); } -void Game::processOpenOutfitWindow(const Outfit& currentOufit, const std::vector >& outfitList, +void Game::processOpenOutfitWindow(const Outfit& currentOutfit, const std::vector >& outfitList, const std::vector >& mountList) { // create virtual creature outfit CreaturePtr virtualOutfitCreature = CreaturePtr(new Creature); virtualOutfitCreature->setDirection(Otc::South); - Outfit outfit = currentOufit; + Outfit outfit = currentOutfit; outfit.setMount(0); virtualOutfitCreature->setOutfit(outfit); @@ -452,7 +452,7 @@ void Game::processOpenOutfitWindow(const Outfit& currentOufit, const std::vector Outfit mountOutfit; mountOutfit.setId(0); - int mount = currentOufit.getMount(); + int mount = currentOutfit.getMount(); if(mount > 0) mountOutfit.setId(mount); diff --git a/src/client/game.h b/src/client/game.h index 7011421d..17c13e1c 100644 --- a/src/client/game.h +++ b/src/client/game.h @@ -130,7 +130,7 @@ protected: void processRemoveAutomapFlag(const Position& pos, int icon, const std::string& message); // outfit - void processOpenOutfitWindow(const Outfit& currentOufit, const std::vector >& outfitList, + void processOpenOutfitWindow(const Outfit& currentOutfit, const std::vector >& outfitList, const std::vector >& mountList); // npc trade