summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@Simons-Mac-Pro.local>2012-04-26 12:10:47 (GMT)
committer Simon Robertshaw <simon@Simons-Mac-Pro.local>2012-04-26 12:10:47 (GMT)
commitbb8a3f76e3b558a63eab38ab15ebb71f9b5ac762 (patch)
treeff63bd38df84018dc9843e5a5d26f5795b657735 /src/game/GameModel.cpp
parent9e4cd165eb66b27a42f8eb3aad1993be5178d825 (diff)
downloadpowder-bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762.zip
powder-bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762.tar.gz
OS X compiling working, Make it a bit more friendly with stricter compilers
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index f832422..4dd14ef 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -11,7 +11,6 @@
#include "GameModelException.h"
GameModel::GameModel():
- activeTools({NULL, NULL, NULL}),
sim(NULL),
ren(NULL),
currentBrush(0),
@@ -24,6 +23,8 @@ GameModel::GameModel():
sim = new Simulation();
ren = new Renderer(ui::Engine::Ref().g, sim);
+ memset(activeTools, 0, sizeof(activeTools));
+
//Load config into renderer
try
{