summaryrefslogtreecommitdiff
path: root/src/gui/game/GameController.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-17 03:12:33 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-17 03:12:33 (GMT)
commit77bf649fb4482c86ac1fd9b3233f062b53226007 (patch)
treec90fec96a409694f3363337fad7c258c351dd6ca /src/gui/game/GameController.cpp
parent9cd84eccde7baff9a3a4627dd03ade3f8b72d479 (diff)
downloadpowder-77bf649fb4482c86ac1fd9b3233f062b53226007.zip
powder-77bf649fb4482c86ac1fd9b3233f062b53226007.tar.gz
new lua sim api functions to get/set deco color, load a save, and adjust coordinates to the screen / zoom window
Diffstat (limited to 'src/gui/game/GameController.cpp')
-rw-r--r--src/gui/game/GameController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp
index e98086a..d8ff3c6 100644
--- a/src/gui/game/GameController.cpp
+++ b/src/gui/game/GameController.cpp
@@ -1048,7 +1048,7 @@ void GameController::LoadSave(SaveInfo * save)
void GameController::OpenSavePreview(int saveID, int saveDate)
{
- activePreview = new PreviewController(saveID, new SaveOpenCallback(this));
+ activePreview = new PreviewController(saveID, saveDate, new SaveOpenCallback(this));
ui::Engine::Ref().ShowWindow(activePreview->GetView());
}