From cd408cf3ee29d9a92097d93ba474540c549e3c50 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 16 Dec 2018 18:46:35 +0100 Subject: [PATCH] Fix multiplayer crashing Fixes #487 again --- Source/msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/msg.cpp b/Source/msg.cpp index eb1e6cd83..29e61f62f 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -577,7 +577,7 @@ void __cdecl DeltaLoadLevel() v40 = 0; v1 = &monster[0]._mfuty; do { - if (sgLevels[currlevel].monster[v40]._mx != 0xFF) { + if (sgLevels[currlevel].monster[v40]._mx != -1) { M_ClearSquares(v0); v2 = v40 * 9 + 4721 * currlevel; v3 = *((unsigned char *)&sgLevels[0].monster[0]._mx + v2);