From 2df56c810d8d910bba5f32b94232a8f23d1bf981 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Wed, 9 Aug 2023 20:57:53 +0200 Subject: [PATCH] Set Entity's entnum directly --- code/fgame/archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/fgame/archive.cpp b/code/fgame/archive.cpp index f987c3fd..9e80d9a7 100644 --- a/code/fgame/archive.cpp +++ b/code/fgame/archive.cpp @@ -1133,7 +1133,7 @@ void Archiver::ArchiveObject } ArchiveInteger( &entnum ); - ( ( Entity * )obj )->SetEntNum( entnum ); + ( ( Entity * )obj )->entnum = entnum; // // make sure to setup spawnflags properly //