Fixed: crash when using SelectCharacter = [0,4] (thanks ace)

This commit is contained in:
rti 2011-05-25 16:52:52 +02:00
parent cd2f22924a
commit 002af69d22

View file

@ -524,12 +524,12 @@ void CInterfaceManager::initOutGame()
ActionsContext.addActionsManager(&Actions, ""); ActionsContext.addActionsManager(&Actions, "");
ActionsContext.addActionsManager(&EditActions, RZ_CATEGORY_EDIT); ActionsContext.addActionsManager(&EditActions, RZ_CATEGORY_EDIT);
if (ClientCfg.SelectCharacter != -1) return;
// Init LUA Scripting // Init LUA Scripting
initLUA(); initLUA();
if (ClientCfg.SelectCharacter != -1)
return;
{ {
if (SoundMngr != NULL) if (SoundMngr != NULL)
{ {