summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/npcrecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/npcrecv.cpp b/src/net/eathena/npcrecv.cpp
index b92a0f913..4088e8c4e 100644
--- a/src/net/eathena/npcrecv.cpp
+++ b/src/net/eathena/npcrecv.cpp
@@ -45,7 +45,8 @@ void NpcRecv::processNpcCutin(Net::MessageIn &msg)
Ea::NpcRecv::mRequestLang = false;
const std::string image = msg.readString(64, "image name");
const CutInT cutin = static_cast<CutInT>(msg.readUInt8("type"));
- cutInWindow->show(image, cutin);
+ if (cutInWindow)
+ cutInWindow->show(image, cutin);
}
void NpcRecv::processNpcViewPoint(Net::MessageIn &msg)