summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authormniip <mniip@yandex.ru>2013-01-11 18:28:57 (GMT)
committer mniip <mniip@yandex.ru>2013-01-11 18:28:57 (GMT)
commitdf628c7fe3ee7bb28de79b68658669ba2213ab20 (patch)
tree7b32ae0012dfb70ca048254165b85ea314a97918 /src/game/GameView.cpp
parent269420c6c791bb48e9721afda608893b97bcd45b (diff)
downloadpowder-df628c7fe3ee7bb28de79b68658669ba2213ab20.zip
powder-df628c7fe3ee7bb28de79b68658669ba2213ab20.tar.gz
moving gameModel was a bad idea, so i just made an alias function
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index ad8cab6..bd9b879 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1323,7 +1323,7 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
if(ctrl)
c->SetDecoration();
else
- c->SetActiveMenu(c->gameModel->GetMenuList()[SC_DECO]);
+ c->SetActiveMenu(c->GetMenuList()[SC_DECO]);
break;
case 'y':
c->SwitchAir();