SAGA: properly remove the save reminder callback on engine exit
This fixes an error when exiting to the launcher and restarting a game
This commit is contained in:
parent
ed9cf01c78
commit
b71123ef4f
1 changed files with 1 additions and 0 deletions
|
@ -324,6 +324,7 @@ Interface::Interface(SagaEngine *vm) : _vm(vm) {
|
|||
}
|
||||
|
||||
Interface::~Interface() {
|
||||
_vm->getTimerManager()->removeTimerProc(&saveReminderCallback);
|
||||
}
|
||||
|
||||
void Interface::saveReminderCallback(void *refCon) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue