summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-17 17:09:00 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-17 17:09:00 +0300
commitb83bca17d42761c41f097ea315d01bb89105f618 (patch)
treec1b16a828c202f7b86e9375ecd75e43ed454f253 /src/map.h
parente183a929a3653446a6545ca764e47c47f7b00e50 (diff)
downloadmv-b83bca17d42761c41f097ea315d01bb89105f618.tar.gz
mv-b83bca17d42761c41f097ea315d01bb89105f618.tar.bz2
mv-b83bca17d42761c41f097ea315d01bb89105f618.tar.xz
mv-b83bca17d42761c41f097ea315d01bb89105f618.zip
Fix map redrawing if changing map view mode.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 6832ed008..749c77ce5 100644
--- a/src/map.h
+++ b/src/map.h
@@ -507,6 +507,8 @@ class Map : public Properties, public ConfigListener
void reduce();
+ void redrawMap();
+
protected:
friend class Actor;
friend class Minimap;
@@ -607,6 +609,7 @@ class Map : public Properties, public ConfigListener
int mLastY;
int mLastScrollX;
int mLastScrollY;
+ bool mRedrawMap;
};