diff options
author | Eugene Sandulenko | 2014-04-17 22:50:42 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-17 22:50:42 +0300 |
commit | 640536a5842ff4bcb42aa7122746e4cabf4bdf01 (patch) | |
tree | 031b282c0dfa245ae78264e9641fb9d7229a8132 /engines/fullpipe | |
parent | 7edb9af72cd468d71d2cb33e8cf71aa38286e29c (diff) | |
download | scummvm-rg350-640536a5842ff4bcb42aa7122746e4cabf4bdf01.tar.gz scummvm-rg350-640536a5842ff4bcb42aa7122746e4cabf4bdf01.tar.bz2 scummvm-rg350-640536a5842ff4bcb42aa7122746e4cabf4bdf01.zip |
FULLPIPE: Fix crash
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/modal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp index 50ef3ecb48..5cdc449d91 100644 --- a/engines/fullpipe/modal.cpp +++ b/engines/fullpipe/modal.cpp @@ -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(); |