mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
PETKA: fix crash after starting panel 2nd time
This commit is contained in:
parent
3ada5be76c
commit
05f8dc3a95
@ -131,6 +131,7 @@ void InterfacePanel::onLeftButtonDown(Common::Point p) {
|
||||
g_vm->loadPart(1);
|
||||
break;
|
||||
case kLoadButtonIndex:
|
||||
stop();
|
||||
g_vm->getQSystem()->_saveLoadInterface->start(kLoadMode);
|
||||
break;
|
||||
case kContinueButtonIndex:
|
||||
@ -140,6 +141,7 @@ void InterfacePanel::onLeftButtonDown(Common::Point p) {
|
||||
g_system->quit();
|
||||
break;
|
||||
case kSaveButtonIndex:
|
||||
stop();
|
||||
g_vm->getQSystem()->_saveLoadInterface->start(kSaveMode);
|
||||
break;
|
||||
case kSubtitleButtonIndex:
|
||||
|
Loading…
Reference in New Issue
Block a user