diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-14 18:40:18 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-14 18:40:18 (GMT) |
| commit | 431f5a0083dca3da5c881e507908690ebb5a052a (patch) | |
| tree | 0b9aeb0e485e3892960a403f445f4a273b03d1f7 /src/gui/game/GameController.cpp | |
| parent | 18ddb7a1558d474f6f216307c89bfde5e24f924d (diff) | |
| download | powder-431f5a0083dca3da5c881e507908690ebb5a052a.zip powder-431f5a0083dca3da5c881e507908690ebb5a052a.tar.gz | |
lua simulation api functions for creating particles, walls, boxes, and walls
Diffstat (limited to 'src/gui/game/GameController.cpp')
| -rw-r--r-- | src/gui/game/GameController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp index fab4a5d..09e1a1c 100644 --- a/src/gui/game/GameController.cpp +++ b/src/gui/game/GameController.cpp @@ -1306,7 +1306,7 @@ void GameController::Vote(int direction) void GameController::ChangeBrush() { - gameModel->SetBrush(gameModel->GetBrushID()+1); + gameModel->SetBrushID(gameModel->GetBrushID()+1); BrushChanged(gameModel->GetBrushID(), gameModel->GetBrush()->GetRadius().X, gameModel->GetBrush()->GetRadius().Y); } |
