summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-16 00:42:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-16 00:42:23 +0300
commitb472deed9daef38c5ea085175f1495c10391138a (patch)
treef7a0e540711360d8a6e65af5c62e8ce5b14a7b66 /src/net
parentf672c7242dfa8d278d826f1e460af96265ca307c (diff)
downloadmanaplus-b472deed9daef38c5ea085175f1495c10391138a.tar.gz
manaplus-b472deed9daef38c5ea085175f1495c10391138a.tar.bz2
manaplus-b472deed9daef38c5ea085175f1495c10391138a.tar.xz
manaplus-b472deed9daef38c5ea085175f1495c10391138a.zip
Fix compilation without C++11 flags.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/maprecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/maprecv.cpp b/src/net/eathena/maprecv.cpp
index df43cac76..73c4ad069 100644
--- a/src/net/eathena/maprecv.cpp
+++ b/src/net/eathena/maprecv.cpp
@@ -69,7 +69,7 @@ void MapRecv::processSetTilesType(Net::MessageIn &msg)
const int y1 = msg.readInt16("y1");
const int x2 = msg.readInt16("x2");
const int y2 = msg.readInt16("y2");
- const BlockType mask = fromInt(msg.readInt32("mask"), BlockType);
+ const BlockTypeT mask = fromInt(msg.readInt32("mask"), BlockType);
const std::string name = msg.readString(16, "map name");
Map *const map = viewport->getMap();