From fd242310256250f82d213b359da3577efeaf9888 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 27 Mar 2007 09:10:16 +0000 Subject: [PATCH] Prevent to call LoadLanguage("") --- golded3/gerand.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/golded3/gerand.cpp b/golded3/gerand.cpp index 7bf9c7a..09a8b79 100644 --- a/golded3/gerand.cpp +++ b/golded3/gerand.cpp @@ -233,7 +233,8 @@ void Area::InitData() { CFG->grp.GetItm(GRP_XLATIMPORT, adat->xlatimport, sizeof(adat->xlatimport)); } - LoadLanguage(adat->loadlanguage); + if(adat->loadlanguage) + LoadLanguage(adat->loadlanguage); }