mirror of https://github.com/nzp-team/quakec.git
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
|
@ -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 New Issue