Fixed interpolation points chaining

Ambush flag cannot be used for marking visited points because HandleSpawnFlags() is no longer virtual
See E1M4 from Rise Of The Wool Ball v1.1 as example of broken chain
This commit is contained in:
alexey.lysiuk 2017-06-10 15:50:44 +03:00
parent 3b8570003a
commit 8a300b99e9
1 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,8 @@ class InterpolationPoint : Actor
{
InterpolationPoint Next;
bool bVisited;
default
{
@ -66,9 +68,9 @@ class InterpolationPoint : Actor
while (me != null)
{
if (me.bAmbush) return;
if (me.bVisited) return;
me.bAmbush = true;
me.bVisited = true;
let iterator = ActorIterator.Create(me.args[3] + 256 * me.args[4], "InterpolationPoint");
me.Next = InterpolationPoint(iterator.Next ());