mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Fix hard-coded view ofs restriction for Dolphin Dive
This commit is contained in:
parent
78ad4ce386
commit
e2da52c1f3
1 changed files with 4 additions and 1 deletions
|
@ -1564,7 +1564,10 @@ void() Change_Stance = {
|
||||||
|
|
||||||
void() dolphin_dive = //naievil
|
void() dolphin_dive = //naievil
|
||||||
{
|
{
|
||||||
if (self.stance != 2 || self.view_ofs_z != 32)
|
if (self.stance != 2)
|
||||||
|
return;
|
||||||
|
if ((map_compatibility_mode == MAP_COMPAT_BETA && self.view_ofs_z != VIEW_OFS_QK[2]) ||
|
||||||
|
(!map_compatibility_mode && self.view_ofs_z != VIEW_OFS_HL[2]))
|
||||||
return;
|
return;
|
||||||
if (self.flags & FL_WATERJUMP)
|
if (self.flags & FL_WATERJUMP)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue