From db2147c700cab93f9ec8dff68e23d997eff2b23f Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 3 Nov 2010 02:17:08 +0000 Subject: [PATCH] - Fixed: Options selected in Strife dialogues using the number keys were off by one. SVN r2972 (trunk) --- src/p_conversation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_conversation.cpp b/src/p_conversation.cpp index 3c631c4e9..9b1119e0d 100644 --- a/src/p_conversation.cpp +++ b/src/p_conversation.cpp @@ -914,7 +914,7 @@ public: { if (ev->type == EV_GUI_Event && ev->subtype == EV_GUI_Char && ev->data1 >= '0' && ev->data1 <= '9') { // Activate an item of type numberedmore (dialogue only) - mSelection = ev->data1 == '0' ? 10 : ev->data1 - '0'; + mSelection = ev->data1 == '0' ? 9 : ev->data1 - '1'; return MenuEvent(MKEY_Enter, false); } return Super::Responder(ev);