summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Game.cpp')
-rw-r--r--StarsEx/Game.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/StarsEx/Game.cpp b/StarsEx/Game.cpp
index 3d3315e..54f9204 100644
--- a/StarsEx/Game.cpp
+++ b/StarsEx/Game.cpp
@@ -28,7 +28,6 @@ Game* Game::instance {nullptr};
Game::Game() :
- world {nullptr},
status {OK},
exit_code {0},
game_mode {MENU_MODE},
@@ -48,7 +47,6 @@ Game::Game() :
Game::~Game()
{
Clock::Close();
- if (world) delete world;
if (instance == this)
instance = nullptr;
}
@@ -155,8 +153,6 @@ Game::GameLoop()
void
Game::UpdateWorld()
{
- if (world)
- world->ExecFrame(Clock::GetInstance()->Delta());
}
// +--------------------------------------------------------------------+