diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 18:08:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 18:08:05 +0300 |
commit | 0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac (patch) | |
tree | 600aba18b3c90967561ec3ed83f606266a99eff8 /src/gamemodifiers.cpp | |
parent | bcd76117e26e72ed74f9b8c2856a7128e1c27441 (diff) | |
download | mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.gz mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.bz2 mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.xz mv-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.zip |
Convert MapType enum into strong typed enum.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp index 158a6f2cd..56facd8cc 100644 --- a/src/gamemodifiers.cpp +++ b/src/gamemodifiers.cpp @@ -55,7 +55,7 @@ std::string GameModifiers::get##name1##String() \ { \ return gettext(getVarItem(&m##name1##Strings[0], \ - settings.name2, m##name1##Size)); \ + static_cast<unsigned>(settings.name2), m##name1##Size)); \ } #define addModifier2(name1, name2, str, sz, ...) \ |