summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 18:08:05 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 18:08:05 +0300
commit0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac (patch)
tree600aba18b3c90967561ec3ed83f606266a99eff8 /src/gamemodifiers.cpp
parentbcd76117e26e72ed74f9b8c2856a7128e1c27441 (diff)
downloadmanaverse-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.gz
manaverse-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.bz2
manaverse-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.tar.xz
manaverse-0a9826815fdf65c5c48c1cc78dde8ad43c47c4ac.zip
Convert MapType enum into strong typed enum.
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 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, ...) \