From 6e38d9b187a1997b2f44f0a315bb59ad0708c92b Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 6 Jun 2013 05:51:32 +0000 Subject: [PATCH] do not require lng file to have a new key --- source/glest_game/global/lang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/global/lang.cpp b/source/glest_game/global/lang.cpp index 7232ce19..44b105ce 100644 --- a/source/glest_game/global/lang.cpp +++ b/source/glest_game/global/lang.cpp @@ -177,7 +177,7 @@ void Lang::loadStrings(string uselanguage, bool loadFonts, #endif - if( lang.hasString("ALLOWED_SPECIAL_KEYS")) { + if( lang.hasString("ALLOWED_SPECIAL_KEYS","",false)) { string allowedKeys = lang.get("ALLOWED_SPECIAL_KEYS"); Window::addAllowedKeys(allowedKeys); }