summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
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/gamemodifiers.cpp
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/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index e7182c450..7c94b5c4c 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -490,5 +490,5 @@ static const char *const mapDrawTypeStrings[] =
std::string GameModifiers::getMapDrawTypeString()
{
return gettext(getVarItem(&mapDrawTypeStrings[0],
- viewport->getMapDrawType(), mapDrawTypeSize));
+ settings.mapDrawType, mapDrawTypeSize));
}