- encountered a strange crash that after changing a map, InSubsector was not NULL and pointing to invalid data. So let's better NULL this variable explicitly each time a render loop is started.
This commit is contained in:
parent
4ebdcb7b6d
commit
e11a0986ce
3 changed files with 8 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ WORD MirrorFlags;
|
|||
TArray<PortalDrawseg> WallPortals(1000); // note: this array needs to go away as reallocation can cause crashes.
|
||||
|
||||
|
||||
static subsector_t *InSubsector;
|
||||
subsector_t *InSubsector;
|
||||
|
||||
CVAR (Bool, r_drawflat, false, 0) // [RH] Don't texture segs?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue