- moved the impact decal counter into FLevelLocals and do the counting in a less problematic fashion.

This was yet another piece of code that lived or died with the assumption that there can only be one level, stored in global variables.

# Conflicts:
#	src/p_saveg.cpp
This commit is contained in:
Christoph Oelckers 2019-01-09 00:04:28 +01:00
commit e90ef4e886
4 changed files with 15 additions and 18 deletions

View file

@ -980,6 +980,7 @@ void G_SerializeLevel(FSerializer &arc, bool hubload)
("level.spotstate", level.SpotState)
("level.fragglethinker", level.FraggleScriptThinker)
("level.acsthinker", level.ACSThinker);
("level.impactdecalcount", level.ImpactDecalCount);
// Hub transitions must keep the current total time
if (!hubload)