• R/O
  • SSH

Commit

Tags
No Tags

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 used on servers hosted by The Sentinels Playground (TSPG).


Commit MetaInfo

Revisión3711f9ff3c1f7142d9314814e660a71b940f2bb0 (tree)
Tiempo2021-12-05 03:03:57
AutorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed the loser of a duel not being sent to spectators if the level changed in the middle of the win sequence.

Cambiar Resumen

Diferencia incremental

diff -r 9582b93cabbd -r 3711f9ff3c1f src/p_setup.cpp
--- a/src/p_setup.cpp Wed Dec 01 23:58:15 2021 -0500
+++ b/src/p_setup.cpp Sat Dec 04 13:03:57 2021 -0500
@@ -4670,6 +4670,11 @@
46704670 // a "map" map change during possessions hold countdown to a CTF/ST map, the counter would stay
46714671 // on the screen of the clients after the map change.
46724672 {
4673+ // [AK] In case we changed levels in the middle of a duel's win sequence, just start a new duel
4674+ // so the loser still gets sent to spectators.
4675+ if (( DUEL_GetState( ) == DS_WINSEQUENCE ) && ( DUEL_GetStartNextDuelOnLevelLoad( ) == false ))
4676+ DUEL_SetStartNextDuelOnLevelLoad( true );
4677+
46734678 DUEL_SetState( DS_WAITINGFORPLAYERS );
46744679 LASTMANSTANDING_SetState( LMSS_WAITINGFORPLAYERS );
46754680 POSSESSION_SetState( PSNS_WAITINGFORPLAYERS );