mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed some incorrect array allocation sizes in polyobj code
This commit is contained in:
parent
11b1a2ef7b
commit
40e50f07e9
1 changed files with 2 additions and 2 deletions
|
@ -295,8 +295,8 @@ void MapLoader::TranslateToStartSpot (int tag, const DVector2 &origin)
|
|||
Printf(TEXTCOLOR_RED "TranslateToStartSpot: Anchor point located without a StartSpot point: %d\n", tag);
|
||||
return;
|
||||
}
|
||||
po->OriginalPts.Resize(po->Sidedefs.Size());
|
||||
po->PrevPts.Resize(po->Sidedefs.Size());
|
||||
po->OriginalPts.Resize(po->Vertices.Size());
|
||||
po->PrevPts.Resize(po->Vertices.Size());
|
||||
delta = origin - po->StartSpot.pos;
|
||||
|
||||
for (unsigned i = 0; i < po->Sidedefs.Size(); i++)
|
||||
|
|
Loading…
Reference in a new issue