- moved nodes into FLevelLocals.
This commit is contained in:
parent
f818d25542
commit
fea4079b7c
20 changed files with 164 additions and 208 deletions
|
|
@ -301,10 +301,10 @@ subsector_t *R_PointInSubsector (fixed_t x, fixed_t y)
|
|||
int side;
|
||||
|
||||
// single subsector is a special case
|
||||
if (numnodes == 0)
|
||||
if (level.nodes.Size() == 0)
|
||||
return &level.subsectors[0];
|
||||
|
||||
node = nodes + numnodes - 1;
|
||||
node = level.HeadNode();
|
||||
|
||||
do
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue