Set Entity's entnum directly

This commit is contained in:
smallmodel 2023-08-09 20:57:53 +02:00
parent 8c6098f730
commit 2df56c810d
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -1133,7 +1133,7 @@ void Archiver::ArchiveObject
} }
ArchiveInteger( &entnum ); ArchiveInteger( &entnum );
( ( Entity * )obj )->SetEntNum( entnum ); ( ( Entity * )obj )->entnum = entnum;
// //
// make sure to setup spawnflags properly // make sure to setup spawnflags properly
// //