Skip to content

Commit

Permalink
CharacterEquipment: Fixed refactoring mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ataulien committed Jul 1, 2018
1 parent 270de93 commit 4ef369c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logic/CharacterEquipment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void Logic::CharacterEquipment::putMeleeWeaponInCharactersHand()
removeCharacterModelAttachment(EModelNode::Longsword);
}

void Logic::CharacterEquipment::putBowWeaponOnCharactersHand()
void Logic::CharacterEquipment::putBowWeaponInCharactersHand()
{
using Daedalus::GEngineClasses::C_Item;
auto item = getItemInSlot(Slot::BOW);
Expand All @@ -254,7 +254,7 @@ void Logic::CharacterEquipment::putBowWeaponOnCharactersHand()
removeCharacterModelAttachment(EModelNode::Crossbow);
}

void Logic::CharacterEquipment::removeItemInCharactersHandAndShowWeaponsOnBodyAndShowWeaponsOnBody()
void Logic::CharacterEquipment::removeItemInCharactersHandAndShowWeaponsOnBody()
{
removeCharacterModelAttachment(EModelNode::Lefthand);
removeCharacterModelAttachment(EModelNode::Righthand);
Expand Down

0 comments on commit 4ef369c

Please sign in to comment.