mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Clear the partial immobile flag when initializing the player's physics
This commit is contained in:
parent
afafacaeec
commit
59ac8ea437
1 changed files with 4 additions and 0 deletions
|
@ -2508,6 +2508,10 @@ void Player::InitPhysics(void)
|
|||
memset(&last_ucmd, 0, sizeof(last_ucmd));
|
||||
|
||||
client->ps.groundTrace.fraction = 1.0f;
|
||||
|
||||
// Added in OPM
|
||||
// Prevent the player from being stuck
|
||||
flags &= ~FL_PARTIAL_IMMOBILE;
|
||||
}
|
||||
|
||||
void Player::InitPowerups(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue