Fixed applying of height argument in A_Fire() function

https://forum.zdoom.org/viewtopic.php?t=58090
This commit is contained in:
alexey.lysiuk 2017-10-07 10:12:34 +03:00
parent 9e07babde5
commit 4f35940c73

View file

@ -170,7 +170,7 @@ extend class Actor
// don't move it if the vile lost sight // don't move it if the vile lost sight
if (!target.CheckSight (dest, 0) ) return; if (!target.CheckSight (dest, 0) ) return;
SetOrigin(dest.Vec3Angle(24, dest.angle, height), true); SetOrigin(dest.Vec3Angle(24, dest.angle, spawnheight), true);
} }
void A_FireCrackle() void A_FireCrackle()