diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-05 22:56:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-05 22:56:00 +0300 |
commit | 777e838c95bb5e2dd9c727aba7b589cdcc95a32e (patch) | |
tree | 381ec311c88da57a463a579d530859988857531a /src | |
parent | 6b9e75dbb02912bac23746abfddeb558c6c698ee (diff) | |
download | mv-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.tar.gz mv-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.tar.bz2 mv-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.tar.xz mv-777e838c95bb5e2dd9c727aba7b589cdcc95a32e.zip |
Fix old compilers again.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/npcrecv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/npcrecv.cpp b/src/net/eathena/npcrecv.cpp index 522ce6ad4..b92a0f913 100644 --- a/src/net/eathena/npcrecv.cpp +++ b/src/net/eathena/npcrecv.cpp @@ -44,7 +44,7 @@ void NpcRecv::processNpcCutin(Net::MessageIn &msg) { Ea::NpcRecv::mRequestLang = false; const std::string image = msg.readString(64, "image name"); - const CutInT cutin = fromInt(msg.readUInt8("type"), CutInT); + const CutInT cutin = static_cast<CutInT>(msg.readUInt8("type")); cutInWindow->show(image, cutin); } |