Bugfixes, read more

* Manual modifications to the database caused the map to act unusual
* The server's packet must be created and deleted as a char array
* removed UnloadAll() from several singleton destructors
* added SDL_Delay() to BaseScene::RenderFrame(), to reduce heavy CPU use in menus
This commit is contained in:
Kayne Ruse
2014-08-19 01:48:48 +10:00
parent 0fdaa90a83
commit f52a022e64
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -86,6 +86,7 @@ void BaseScene::RenderFrame() {
SDL_FillRect(screen, 0, 0);
Render(screen);
SDL_Flip(screen);
SDL_Delay(10);
}
//-------------------------