From 1cd50987bce69ada9ccea8c822ccd0ffb34cedde Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jan 2015 14:26:15 +0300 Subject: Add partial support for cart window. --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 63f351706..9bc25f49d 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -535,6 +535,7 @@ namespace InputAction CHAT_PARTY_TAB, CHAT_GUILD_TAB, DROP_CLEAR, + WINDOW_CART, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 23d4e6c06..013efa81f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3969,6 +3969,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "cleardrops|cleardrop|cleardropwindow|dropclear|dropsclear", false}, + {"keyWindowCart", + defaultAction(&Actions::cartWindowShow), + InputCondition::SHORTCUT0, + "cart|opencart", + false}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2