From 33ab28c1e097907e80c67d4c8df6e9594e6d4640 Mon Sep 17 00:00:00 2001 From: KimLS Date: Sat, 14 Dec 2024 23:23:55 -0800 Subject: [PATCH] Fix for corpses not serializing correctly (hopefully). --- common/patches/laurion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/patches/laurion.cpp b/common/patches/laurion.cpp index 74cd716ef..01d756589 100644 --- a/common/patches/laurion.cpp +++ b/common/patches/laurion.cpp @@ -1860,7 +1860,7 @@ namespace Laurion buffer.WriteUInt64(0); //u32 SeeInvis[3]; - if (emu->NPC) { + if (emu->NPC == 1) { buffer.WriteUInt32(0); buffer.WriteUInt32(0); buffer.WriteUInt32(0);