Initialize the ground entity number

This commit is contained in:
smallmodel 2024-02-23 22:51:08 +01:00
parent efaea69c09
commit 0f1de72ae6
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -3670,6 +3670,10 @@ void Player::SetMoveInfo(pmove_t *pm, usercmd_t *ucmd)
}
pm->protocol = g_protocol;
// Added in OPM
// Initialize the ground entity
pm->ps->groundEntityNum = ENTITYNUM_NONE;
}
pmtype_t Player::GetMovePlayerMoveType(void)