From eeaf54bbaa50ba969fa982498bf39d40dca9a67a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Oct 2015 01:05:38 +0300 Subject: Fix compilation errors. --- src/net/eathena/maprecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') 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(msg.readInt32("mask")); const std::string name = msg.readString(16, "map name"); Map *const map = viewport->getMap(); -- cgit v1.2.3-60-g2f50