fix carousel switching duration (#2071)

* apply Ceski patch
This commit is contained in:
Roman Fomin 2024-12-04 22:15:19 +07:00 committed by GitHub
parent d11167d26f
commit c7feec0a60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,8 @@ void ST_UpdateCarousel(player_t *player)
return;
}
if (player->switching == weapswitch_none)
if (player->switching == weapswitch_none
&& player->pendingweapon == wp_nochange)
{
--duration;
}