mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed local variable having the same name as a member in Strife's inquisitor.
This commit is contained in:
parent
03f9425eb1
commit
89d9a43b68
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue