From c595f66bc9031fd28e5146a7aaee686b4ecb9c67 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Jan 2011 03:44:12 +0200 Subject: Increase emotes count to 44 and fix new emotes. --- src/keyboardconfig.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/keyboardconfig.cpp') diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp index fd3c3aa09..625e467fc 100644 --- a/src/keyboardconfig.cpp +++ b/src/keyboardconfig.cpp @@ -243,6 +243,10 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = { KeyboardConfig::GRP_EMOTION}, {"keyEmoteShortcut42", SDLK_c, strprintf(_("Emote Shortcut %d"), 42), KeyboardConfig::GRP_EMOTION}, + {"keyEmoteShortcut43", SDLK_v, strprintf(_("Emote Shortcut %d"), 43), + KeyboardConfig::GRP_EMOTION}, + {"keyEmoteShortcut44", SDLK_b, strprintf(_("Emote Shortcut %d"), 44), + KeyboardConfig::GRP_EMOTION}, {"keyWearOutfit", SDLK_RCTRL, _("Wear Outfit"), KeyboardConfig::GRP_DEFAULT}, {"keyCopyOutfit", SDLK_RALT, _("Copy Outfit"), @@ -411,7 +415,7 @@ int KeyboardConfig::getKeyIndex(int keyValue, int grp) const int KeyboardConfig::getKeyEmoteOffset(int keyValue) const { - for (int i = KEY_EMOTE_1; i <= KEY_EMOTE_42; i++) + for (int i = KEY_EMOTE_1; i <= KEY_EMOTE_44; i++) { if (keyValue == mKey[i].value) return 1 + i - KEY_EMOTE_1; -- cgit v1.2.3-70-g09d2