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;
|
break;
|
||||||
|
|
||||||
case WM_DESTROY:
|
|
||||||
FinishObjects();
|
|
||||||
PostQuitMessage(0);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event)
|
if (event)
|
||||||
@ -815,6 +810,7 @@ out:
|
|||||||
SDL_DestroyWindow (g_window);
|
SDL_DestroyWindow (g_window);
|
||||||
|
|
||||||
SDL_RemoveTimer (updateTimer);
|
SDL_RemoveTimer (updateTimer);
|
||||||
|
FinishObjects ();
|
||||||
SDL_Quit ();
|
SDL_Quit ();
|
||||||
return static_cast<int> (msg.wParam);
|
return static_cast<int> (msg.wParam);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user