diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-07-26 22:33:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-07-26 22:33:53 +0000 |
commit | 9e4f25acd69489d949104eebec690ce5586849e6 (patch) | |
tree | dc4fe4483ece1a374bc44280c72e43cfd5725feb /src/gui/playerbox.cpp | |
parent | 34e18a818a7696629515c39b920ba35b64832748 (diff) | |
download | mana-9e4f25acd69489d949104eebec690ce5586849e6.tar.gz mana-9e4f25acd69489d949104eebec690ce5586849e6.tar.bz2 mana-9e4f25acd69489d949104eebec690ce5586849e6.tar.xz mana-9e4f25acd69489d949104eebec690ce5586849e6.zip |
OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find a
nicer approach after the release.
Diffstat (limited to 'src/gui/playerbox.cpp')
-rw-r--r-- | src/gui/playerbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/playerbox.cpp b/src/gui/playerbox.cpp index a94e7c4b..3b23f3f2 100644 --- a/src/gui/playerbox.cpp +++ b/src/gui/playerbox.cpp @@ -107,5 +107,5 @@ void PlayerBox::drawBorder(gcn::Graphics *graphics) x -= bs; y -= bs; - ((Graphics*)graphics)->drawImageRect(x, y, w, h, background); + dynamic_cast<Graphics*>(graphics)->drawImageRect(x, y, w, h, background); } |