- fixed aiming camera that didn't follow target

https://forum.zdoom.org/viewtopic.php?t=68600
This commit is contained in:
alexey.lysiuk 2020-05-18 14:00:48 +03:00
parent 0631670a66
commit 1fd2ea46d2

View file

@ -63,7 +63,7 @@ class AimingCamera : SecurityCamera
args[2] = 0; args[2] = 0;
Super.PostBeginPlay (); Super.PostBeginPlay ();
MaxPitchChange = double(changepitch / TICRATE); MaxPitchChange = double(changepitch) / TICRATE;
Range /= TICRATE; Range /= TICRATE;
ActorIterator it = Level.CreateActorIterator(args[3]); ActorIterator it = Level.CreateActorIterator(args[3]);