- made the corpse queue a simple array in FLevelLocals.
I have to wonder why it had to use such a complicated implementation that provided no advantages whatsoever. The new code is just 1/5th of the old one's size and much closer to Hexen's original implementation which also was a simple array but with no means to resize the queue.
This commit is contained in:
parent
dab68184f5
commit
a0ad4ea193
6 changed files with 27 additions and 116 deletions
|
|
@ -976,6 +976,7 @@ void G_SerializeLevel(FSerializer &arc, bool hubload)
|
|||
("level.bodyqueslot", level.bodyqueslot)
|
||||
("level.spawnindex", level.spawnindex)
|
||||
.Array("level.bodyque", level.bodyque, level.BODYQUESIZE)
|
||||
("level.corpsequeue", level.CorpseQueue)
|
||||
("level.spotstate", level.SpotState)
|
||||
("level.fragglethinker", level.FraggleScriptThinker);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue