From b167f050068afd66a8b725d409d45b26d033ba39 Mon Sep 17 00:00:00 2001 From: KimLS Date: Sun, 17 Nov 2024 21:58:27 -0800 Subject: [PATCH] Missing fields from spawn struct --- common/patches/larion.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/patches/larion.cpp b/common/patches/larion.cpp index a60a0a82a..d9af91f34 100644 --- a/common/patches/larion.cpp +++ b/common/patches/larion.cpp @@ -1826,6 +1826,13 @@ namespace Larion buffer.WriteUInt32(0); } + /* + s32 Primary; + s32 Secondary; + */ + buffer.WriteUInt32(0xffffffff); + buffer.WriteUInt32(0xffffffff); + if ((emu->NPC == 0) || (emu->race <= Race::Gnome) || (emu->race == Race::Iksar) || (emu->race == Race::VahShir) || (emu->race == Race::Froglok2) || (emu->race == Race::Drakkin) )