summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-10-04 03:01:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-05 15:32:39 (GMT)
commit72b00ca5e142569d6911c1c009e3cce4d89c2627 (patch)
tree4d4a193694958f0706e14a86b82d6f1c5596dc07 /src/game/GameController.cpp
parente600c20ba95c072631a4320f8be3810e7a6f631d (diff)
downloadpowder-72b00ca5e142569d6911c1c009e3cce4d89c2627.zip
powder-72b00ca5e142569d6911c1c009e3cce4d89c2627.tar.gz
info tip on deco/ngrav/aheat changed
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index 1fd813c..1928a0b 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -753,8 +753,7 @@ void GameController::SwitchAir()
void GameController::ToggleAHeat()
{
- gameModel->GetSimulation()->aheat_enable = !gameModel->GetSimulation()->aheat_enable;
- gameModel->UpdateQuickOptions();
+ gameModel->SetAHeatEnable(!gameModel->GetAHeatEnable());
}