mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 13:31:33 +00:00
Merge a missing changes.
This commit is contained in:
parent
45cbc1ff86
commit
f89853daed
@ -1375,7 +1375,7 @@ void PM_WaterMove( void )
|
||||
wishvel[i] = pmove->forward[i] * fmove + pmove->right[i] * smove;
|
||||
|
||||
// Sinking after no other movement occurs
|
||||
if( !pmove->cmd.forwardmove && !pmove->cmd.sidemove && !pmove->cmd.upmove )
|
||||
if( !fmove && !smove && !pmove->cmd.upmove )
|
||||
wishvel[2] -= 60; // drift towards bottom
|
||||
else // Go straight up by upmove amount.
|
||||
wishvel[2] += pmove->cmd.upmove;
|
||||
|
Loading…
x
Reference in New Issue
Block a user