summaryrefslogtreecommitdiff
path: root/src/net/eathena/maprecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-16 01:05:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-16 01:05:38 +0300
commiteeaf54bbaa50ba969fa982498bf39d40dca9a67a (patch)
tree63eb6abf60ff1489c66c4d79df5d40489f676098 /src/net/eathena/maprecv.cpp
parentb472deed9daef38c5ea085175f1495c10391138a (diff)
downloadmv-eeaf54bbaa50ba969fa982498bf39d40dca9a67a.tar.gz
mv-eeaf54bbaa50ba969fa982498bf39d40dca9a67a.tar.bz2
mv-eeaf54bbaa50ba969fa982498bf39d40dca9a67a.tar.xz
mv-eeaf54bbaa50ba969fa982498bf39d40dca9a67a.zip
Fix compilation errors.
Diffstat (limited to 'src/net/eathena/maprecv.cpp')
-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 73c4ad069..3843838bd 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 BlockTypeT mask = fromInt(msg.readInt32("mask"), BlockType);
+ const BlockTypeT mask = static_cast<BlockTypeT>(msg.readInt32("mask"));
const std::string name = msg.readString(16, "map name");
Map *const map = viewport->getMap();