mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed FS camera for real.
This commit is contained in:
parent
0717f5aede
commit
96ec6b1dc6
1 changed files with 2 additions and 0 deletions
|
@ -2905,6 +2905,7 @@ void FParser::SF_MoveCamera(void)
|
|||
else movepos = campos + movement.Resized(movespeed);
|
||||
cam->SetOrigin(movepos, true);
|
||||
}
|
||||
else finishedmove = true;
|
||||
|
||||
DAngle targetangle = DAngle(floatvalue(t_argv[4])).Normalized360();
|
||||
if (cam->Angles.Yaw != targetangle)
|
||||
|
@ -2940,6 +2941,7 @@ void FParser::SF_MoveCamera(void)
|
|||
}
|
||||
cam->SetAngle(anglenow, false);
|
||||
}
|
||||
else finishedangle = true;
|
||||
t_return.value.i = !(finishedmove & finishedangle);
|
||||
t_return.type = svt_int;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue