summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index df165d3d8..3eaddedfc 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -413,7 +413,7 @@ Game::Game():
viewport->setSize(mainGraphics->mWidth, mainGraphics->mHeight);
PlayerInfo::clear();
- gcn::Container *const top = static_cast<gcn::Container*>(gui->getTop());
+ BasicContainer2 *const top = static_cast<BasicContainer2*>(gui->getTop());
if (top)
top->add(viewport);
viewport->requestMoveToBottom();