Clear the partial immobile flag when initializing the player's physics

This commit is contained in:
smallmodel 2023-11-15 20:41:41 +01:00
parent afafacaeec
commit 59ac8ea437
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -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)