This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)
修訂 | 80d9bfcca402a8b70e37c67691d656f4fa6b4be7 (tree) |
---|---|
時間 | 2022-08-24 11:20:29 |
作者 | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Fixed: players could still respawn (albeit frozen) during the result sequence if sv_forcerespawn was on.
@@ -3261,7 +3261,8 @@ | ||
3261 | 3261 | return; |
3262 | 3262 | } |
3263 | 3263 | |
3264 | - if ( level.time >= player->respawn_time ) | |
3264 | + // [AK] Don't allow players to respawn during the result sequence, in case sv_forcerespawn is on. | |
3265 | + if ( level.time >= player->respawn_time && GAMEMODE_IsGameInResultSequence( ) == false ) | |
3265 | 3266 | { |
3266 | 3267 | if (((( player->cmd.ucmd.buttons & BT_USE ) || ( ( player->userinfo.GetClientFlags() & CLIENTFLAGS_RESPAWNONFIRE ) && ( player->cmd.ucmd.buttons & BT_ATTACK ) && (( player->oldbuttons & BT_ATTACK ) == false ))) || |
3267 | 3268 | (( deathmatch || teamgame || alwaysapplydmflags ) && |