Commit MetaInfo

Revisione4c56a67711ab28d84bf3668a7a68bebee5f40c5 (tree)
Time2021-05-01 23:16:05
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Don't show the lagging icon on the scoreboard for players who are spectating.

Change Summary

Incremental Difference

diff -r d5c29dd87dd3 -r e4c56a67711a src/scoreboard.cpp
--- a/src/scoreboard.cpp Sat May 01 10:04:43 2021 -0400
+++ b/src/scoreboard.cpp Sat May 01 10:16:05 2021 -0400
@@ -2381,7 +2381,7 @@
23812381 }
23822382
23832383 // [AK] Also show an icon if the player is lagging to the server.
2384- if (( players[ulPlayer].bLagging ) && ( gamestate == GS_LEVEL ))
2384+ if (( players[ulPlayer].bLagging ) && ( players[ulPlayer].bSpectating == false ) && ( gamestate == GS_LEVEL ))
23852385 {
23862386 sprintf( szPatchName, "LAGMINI" );
23872387
Show on old repository browser