summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-20 23:42:17 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-20 23:42:17 (GMT)
commitfa201a7aeb6c645801a11a115ef6baeed9edf1e5 (patch)
tree616a98dddd3b6f93dd6580f762298690c320b3bf /src/game/GameModel.cpp
parent6a331fdaf848ce82adc930ad24ac15c5259d2262 (diff)
downloadpowder-fa201a7aeb6c645801a11a115ef6baeed9edf1e5.zip
powder-fa201a7aeb6c645801a11a115ef6baeed9edf1e5.tar.gz
Fix some uninitialised variables
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp4
1 files changed, 3 insertions, 1 deletions
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);