summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/npcrecv.cpp2
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);
}