- scriptified the last remaining definition (BTSX MAP12 beta)
- Changes to map geometry must force a node rebuild (SetVertex, SetLineSectorRef.) - fixed incorrect use of scaling constant in SetWallYScale.
This commit is contained in:
parent
6631f208b1
commit
3988e27059
3 changed files with 21 additions and 18 deletions
|
|
@ -104,6 +104,7 @@ enum
|
|||
|
||||
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
|
||||
extern TArray<FMapThing> MapThingsConverted;
|
||||
extern bool ForceNodeBuild;
|
||||
|
||||
// PUBLIC DATA DEFINITIONS -------------------------------------------------
|
||||
|
||||
|
|
@ -853,6 +854,7 @@ DEFINE_ACTION_FUNCTION(DLevelCompatibility, SetVertex)
|
|||
{
|
||||
level.vertexes[vertex].p = DVector2(x, y);
|
||||
}
|
||||
ForceNodeBuild = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -872,6 +874,7 @@ DEFINE_ACTION_FUNCTION(DLevelCompatibility, SetLineSectorRef)
|
|||
side->sector = &level.sectors[sectoridx];
|
||||
}
|
||||
}
|
||||
ForceNodeBuild = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue