Moved the PointInSector functions into FLevelLocals
This commit is contained in:
parent
68667e5eaa
commit
60873bc5d6
38 changed files with 167 additions and 162 deletions
|
|
@ -316,7 +316,7 @@ void MapLoader::TranslateToStartSpot (int tag, const DVector2 &origin)
|
|||
}
|
||||
po->CalcCenter();
|
||||
// For compatibility purposes
|
||||
po->CenterSubsector = R_PointInSubsector(po->CenterSpot.pos);
|
||||
po->CenterSubsector = Level->PointInRenderSubsector(po->CenterSpot.pos);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue