mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
Server: Prohibit dive action if player's camera is not reset.
Fixes an issue where diving while the camera was resetting would, over time, make the default "standing" camera lower.
This commit is contained in:
parent
c2ad06a796
commit
950c072fa1
1 changed files with 1 additions and 1 deletions
|
@ -2054,7 +2054,7 @@ void() Change_Stance = {
|
|||
|
||||
void() dolphin_dive = //naievil
|
||||
{
|
||||
if (self.stance != 2)
|
||||
if (self.stance != 2 || self.view_ofs_z != 32)
|
||||
return;
|
||||
if (self.flags & FL_WATERJUMP)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue