summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-22 17:44:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-22 17:44:11 +0300
commit1995e723df5d5aef32b289c0122493ee6fe18b0e (patch)
treeb8dc80f75ac17732c80574fe40910d02e8b90a1b /src/being
parent35263d0f161f59f2dec6586c61970eaf1ce2f6f1 (diff)
downloadmv-1995e723df5d5aef32b289c0122493ee6fe18b0e.tar.gz
mv-1995e723df5d5aef32b289c0122493ee6fe18b0e.tar.bz2
mv-1995e723df5d5aef32b289c0122493ee6fe18b0e.tar.xz
mv-1995e723df5d5aef32b289c0122493ee6fe18b0e.zip
Move "map draw type" variable into settings.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 312efacd9..36275dbbe 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -3325,7 +3325,7 @@ void LocalPlayer::resetYellowBar()
settings.pickUpType = config.resetIntValue("pickUpType");
if (viewport)
{
- viewport->setMapDrawType(0);
+ settings.mapDrawType = MapType::NORMAL;
if (viewport->getCameraMode())
viewport->toggleCameraMode();
}