- fixed local variable having the same name as a member in Strife's inquisitor.

This commit is contained in:
Christoph Oelckers 2017-01-22 12:26:05 +01:00
parent 03f9425eb1
commit 89d9a43b68

View file

@ -143,9 +143,9 @@ class Inquisitor : Actor
A_PlaySound ("inquisitor/jump", CHAN_ITEM, 1, true);
AddZ(64);
A_FaceTarget ();
speed = Speed * (2./3);
VelFromAngle(speed);
double dist = DistanceBySpeed(target, speed);
let localspeed = Speed * (2./3);
VelFromAngle(localspeed);
double dist = DistanceBySpeed(target, localspeed);
Vel.Z = (target.pos.z - pos.z) / dist;
reactiontime = 60;
bNoGravity = true;