summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index e8efe0b..90ef70c 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -148,7 +148,7 @@ void GameController::DrawPoints(queue<ui::Point*> & pointQueue)
void GameController::Update()
{
- //gameModel->GetSimulation()->update_particles();
+ gameModel->GetSimulation()->update_particles();
if(renderOptions && renderOptions->HasExited)
{
delete renderOptions;
@@ -234,7 +234,8 @@ void GameController::ClearSim()
void GameController::ReloadSim()
{
- //TODO: Implement
+ if(gameModel->GetSave() && gameModel->GetSave()->GetData())
+ gameModel->GetSimulation()->Load(gameModel->GetSave()->GetData(), gameModel->GetSave()->GetDataLength());
}