- removed most global references to the tag manager by routing most access to FLevelocals.
This commit is contained in:
parent
9f8dd66189
commit
7e9340f3b7
33 changed files with 291 additions and 262 deletions
|
|
@ -53,7 +53,7 @@ void MapLoader::SlopeLineToPoint (int lineid, const DVector3 &pos, bool slopeCei
|
|||
{
|
||||
int linenum;
|
||||
|
||||
FLineIdIterator itr(lineid);
|
||||
auto itr = Level->GetLineIdIterator(lineid);
|
||||
while ((linenum = itr.Next()) >= 0)
|
||||
{
|
||||
const line_t *line = &Level->lines[linenum];
|
||||
|
|
@ -123,7 +123,7 @@ void MapLoader::CopyPlane (int tag, sector_t *dest, bool copyCeil)
|
|||
sector_t *source;
|
||||
int secnum;
|
||||
|
||||
secnum = P_FindFirstSectorFromTag (tag);
|
||||
secnum = Level->FindFirstSectorFromTag (tag);
|
||||
if (secnum == -1)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue