diff options
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index ededaea52..2c9dd775f 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -145,15 +145,18 @@ impHandler(emote) return true; } } - else if (inputManager.isActionActive(Input::KEY_MOVE_TO_POINT)) + + return false; +} + +impHandler(moveToPoint) +{ + // move to point keys + int num = event.action - Input::KEY_MOVE_TO_POINT_1; + if (socialWindow && num >= 0) { - // move to point keys - int num = event.action - Input::KEY_EMOTE_1; - if (socialWindow && num >= 0) - { - socialWindow->selectPortal(num); - return true; - } + socialWindow->selectPortal(num); + return true; } return false; |