mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
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:
parent
3b8570003a
commit
8a300b99e9
1 changed files with 4 additions and 2 deletions
|
@ -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 ());
|
||||
|
|
Loading…
Reference in a new issue