• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)


Commit MetaInfo

修訂80d9bfcca402a8b70e37c67691d656f4fa6b4be7 (tree)
時間2022-08-24 11:20:29
作者Adam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed: players could still respawn (albeit frozen) during the result sequence if sv_forcerespawn was on.

Change Summary

差異

diff -r 2a28adcd804b -r 80d9bfcca402 src/p_user.cpp
--- a/src/p_user.cpp Tue Aug 23 15:37:47 2022 -0400
+++ b/src/p_user.cpp Tue Aug 23 22:20:29 2022 -0400
@@ -3261,7 +3261,8 @@
32613261 return;
32623262 }
32633263
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 )
32653266 {
32663267 if (((( player->cmd.ucmd.buttons & BT_USE ) || ( ( player->userinfo.GetClientFlags() & CLIENTFLAGS_RESPAWNONFIRE ) && ( player->cmd.ucmd.buttons & BT_ATTACK ) && (( player->oldbuttons & BT_ATTACK ) == false ))) ||
32673268 (( deathmatch || teamgame || alwaysapplydmflags ) &&