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

hg/feature/sound
rti 14 years ago
parent cd2f22924a
commit 002af69d22

@ -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)
{ {

Loading…
Cancel
Save