mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
- fixed crash during initialization of polyobjects
This commit is contained in:
parent
16ee57817d
commit
2bb3571c2c
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ void MapLoader::TranslateToStartSpot (int tag, const DVector2 &origin)
|
||||||
}
|
}
|
||||||
po->CalcCenter();
|
po->CalcCenter();
|
||||||
// For compatibility purposes
|
// For compatibility purposes
|
||||||
po->CenterSubsector = R_PointInSubsector(po->GetLevel(), po->CenterSpot.pos);
|
po->CenterSubsector = R_PointInSubsector(Level, po->CenterSpot.pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue