mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Finish objects at the right place
This commit is contained in:
parent
061bfe9e2b
commit
8c111b9557
@ -364,11 +364,6 @@ LRESULT CALLBACK WindowProc2 (HWND hWnd, UINT message,
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_DESTROY:
|
||||
FinishObjects();
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
}
|
||||
|
||||
if (event)
|
||||
@ -815,6 +810,7 @@ out:
|
||||
SDL_DestroyWindow (g_window);
|
||||
|
||||
SDL_RemoveTimer (updateTimer);
|
||||
FinishObjects ();
|
||||
SDL_Quit ();
|
||||
return static_cast<int> (msg.wParam);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user