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:
Filippos Karapetis 2011-08-30 12:58:57 +03:00
parent ed9cf01c78
commit b71123ef4f

View File

@ -324,6 +324,7 @@ Interface::Interface(SagaEngine *vm) : _vm(vm) {
}
Interface::~Interface() {
_vm->getTimerManager()->removeTimerProc(&saveReminderCallback);
}
void Interface::saveReminderCallback(void *refCon) {