- moved the subsectors into FLevelLocals.

This commit is contained in:
Christoph Oelckers 2017-03-17 00:22:52 +01:00
commit f201dab534
28 changed files with 280 additions and 295 deletions

View file

@ -2104,7 +2104,7 @@ sector_t *P_PointInSectorBuggy(double x, double y)
{
// single subsector is a special case
if (numgamenodes == 0)
return gamesubsectors->sector;
return level.gamesubsectors[0].sector;
node_t *node = gamenodes + numgamenodes - 1;