# HG changeset patch # User Adam Kaminski # Date 1638079818 18000 # Sun Nov 28 01:10:18 2021 -0500 # Node ID c461dccada99b5896a29280eb71efb9c465e75a4 # Parent 6a96efa52246e1c733aea0db3c76be204290dee2 Fixed a crash when showing the scoreboard on team-based game modes that players earned kills in. diff -r 6a96efa52246 -r c461dccada99 src/scoreboard.cpp --- a/src/scoreboard.cpp Sat Nov 27 20:40:42 2021 -0500 +++ b/src/scoreboard.cpp Sun Nov 28 01:10:18 2021 -0500 @@ -574,7 +574,7 @@ } // Draw the team scores and their relation (tied, red leads, etc). - if ( GAMEMODE_GetCurrentFlags( ) & GMF_PLAYERSONTEAMS ) + if (( GAMEMODE_GetCurrentFlags( ) & GMF_PLAYERSONTEAMS ) && (( GAMEMODE_GetCurrentFlags( ) & GMF_PLAYERSEARNKILLS ) == false )) { if ( gamestate != GS_LEVEL ) g_ulCurYPos += SmallFont->GetHeight( ) + 1;