From eaeb9cc2a66e3c2c51d36770f12fff5041831afc Mon Sep 17 00:00:00 2001 From: Xawotihs Date: Thu, 16 Dec 2010 18:36:07 +0000 Subject: [PATCH] Fixed for issue 564. Now we do nothing if we use the "menu key" in the language selection menu. --- projects/mtg/src/GameStateMenu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/GameStateMenu.cpp b/projects/mtg/src/GameStateMenu.cpp index 8564ec5db..48a699f4f 100644 --- a/projects/mtg/src/GameStateMenu.cpp +++ b/projects/mtg/src/GameStateMenu.cpp @@ -348,7 +348,10 @@ string GameStateMenu::getLang(string s) void GameStateMenu::setLang(int id) { - options[Options::LANG].str = langs[id - 1]; + if(id != kCancelMenuID) + { + options[Options::LANG].str = langs[id - 1]; + } options.save(); }