summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-09 22:31:26 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-09 22:31:26 +0100
commitbade85c7890c2255dba41b084132ef892bf365fa (patch)
tree55b5b317e3450d8ac505c317a4a53f2f724f63b2 /src/graphics.h
parentb7f93f0b2ec91e04d3ed9035c9e21015b8b57cdd (diff)
downloadmana-bade85c7890c2255dba41b084132ef892bf365fa.tar.gz
mana-bade85c7890c2255dba41b084132ef892bf365fa.tar.bz2
mana-bade85c7890c2255dba41b084132ef892bf365fa.tar.xz
mana-bade85c7890c2255dba41b084132ef892bf365fa.zip
Got rid of non-sensical Vector operator overloads
Just because something is the kind of calculation that seems to be required does not mean it makes sense in general. Let's try to keep things understandable.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 8bacfb9c..591b4166 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -193,7 +193,7 @@ class Graphics : public gcn::SDLGraphics
*/
virtual SDL_Surface *getScreenshot();
- gcn::Font *getFont() { return mFont; }
+ gcn::Font *getFont() const { return mFont; }
protected:
SDL_Surface *mScreen;