FULLPIPE: Fix crash

This commit is contained in:
Eugene Sandulenko 2014-04-17 22:50:42 +03:00
parent 7edb9af72c
commit 640536a584

View File

@ -838,7 +838,7 @@ ModalMainMenu::ModalMainMenu() {
area->picObjL = _scene->getPictureObjectById(area->picIdL, 0);
area->picObjL->_flags &= 0xFFFB;
_areas.push_back(area);
_musicSliderIdx = _areas.size();
_musicSliderIdx = _areas.size() - 1;
if (g_fp->_mainMenu_debugEnabled)
enableDebugMenuButton();