summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-30 15:19:44 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-30 15:19:44 (GMT)
commit90ebd3e54c376b7baa80d9d739f3ace62f6991cd (patch)
tree088fda9399f50b6f172e36ae5ffe6c89c0f338ab /src/game/GameController.cpp
parentd6f832b4f572bbb79a33590da71c2d8975b15728 (diff)
downloadpowder-90ebd3e54c376b7baa80d9d739f3ace62f6991cd.zip
powder-90ebd3e54c376b7baa80d9d739f3ace62f6991cd.tar.gz
Better hanling of edgeMode and "New Sim" button
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index 19933cb..0ed9cf0 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -1023,7 +1023,7 @@ void GameController::OpenStamps()
void GameController::OpenOptions()
{
- options = new OptionsController(gameModel->GetSimulation(), new OptionsCallback(this));
+ options = new OptionsController(gameModel, new OptionsCallback(this));
ui::Engine::Ref().ShowWindow(options->GetView());
}