summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index b2df9967b..ededaea52 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -155,9 +155,15 @@ impHandler(emote)
return true;
}
}
- else if (inputManager.isActionActive(Input::KEY_WEAR_OUTFIT))
+
+ return false;
+}
+
+impHandler(outfit)
+{
+ if (inputManager.isActionActive(Input::KEY_WEAR_OUTFIT))
{
- int num = event.action - Input::KEY_EMOTE_1;
+ int num = event.action - Input::KEY_OUTFIT_1;
if (outfitWindow && num >= 0)
{
outfitWindow->wearOutfit(num);
@@ -168,7 +174,7 @@ impHandler(emote)
}
else if (inputManager.isActionActive(Input::KEY_COPY_OUTFIT))
{
- int num = event.action - Input::KEY_EMOTE_1;
+ int num = event.action - Input::KEY_OUTFIT_1;
if (outfitWindow && num >= 0)
{
outfitWindow->copyOutfit(num);