summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/GameController.cpp2
-rw-r--r--src/game/GameModel.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index e029fc9..07f2722 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -54,7 +54,7 @@ void GameController::DrawPoints(queue<ui::Point*> & pointQueue)
void GameController::Tick()
{
- gameModel->GetSimulation()->update_particles();
+ //gameModel->GetSimulation()->update_particles();
}
void GameController::SetPaused(bool pauseState)
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index 3d5a800..50f266f 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -5,7 +5,9 @@
#include "Renderer.h"
GameModel::GameModel():
- activeElement(1)
+ activeElement(1),
+ sim(NULL),
+ ren(NULL)
{
sim = new Simulation();
ren = new Renderer(ui::Engine::Ref().g, sim);