summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-03 18:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-03 19:03:30 +0300
commit98db78be9552b039090ce5dfc53803df2dd54b41 (patch)
treeefda1a43723e8e11e075dcfef2776fe38c7cb3da /src/game.h
parentd7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff)
downloadmanaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz
manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2
manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz
manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.zip
Add some missing getters.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 6064a300b..4469d3774 100644
--- a/src/game.h
+++ b/src/game.h
@@ -91,7 +91,7 @@ class Game
/**
* Returns the currently active map.
*/
- Map *getCurrentMap()
+ Map *getCurrentMap() const
{ return mCurrentMap; }
const std::string &getCurrentMapName() const