- moved the global spot state into FLevelLocals.
This way it doesn't even have to be a thinker.
This commit is contained in:
parent
7b16433e97
commit
dab68184f5
14 changed files with 39 additions and 44 deletions
|
|
@ -69,6 +69,7 @@
|
|||
#include "i_time.h"
|
||||
#include "scripting/vm/vm.h"
|
||||
#include "fragglescript/t_fs.h"
|
||||
#include "a_specialspot.h"
|
||||
#include "maploader/maploader.h"
|
||||
|
||||
void P_ClearUDMFKeys();
|
||||
|
|
@ -273,6 +274,7 @@ void FLevelLocals::ClearLevelData()
|
|||
}
|
||||
ClearPortals();
|
||||
|
||||
SpotState = nullptr;
|
||||
canvasTextureInfo.EmptyList();
|
||||
sections.Clear();
|
||||
segs.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue