File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -574,8 +574,13 @@ void PopulateInGameDiplomacyPopup( void )
574574 }
575575
576576 // TheSuperHackers @feature Caball009 06/11/2025 Set special status for players that are using a patched client version.
577- if (slot->isHuman () && (TheGameInfo->getLocalSlotNum () == slotNum || slot->getProductVersion () > 0 ))
578- text.format (L" %s [%s]" , text.str (), TheVersion->getUnicodeGitTagOrHash ().str ());
577+ if (slot->isHuman () && slot->getProductInfo ().productVersion > 0 )
578+ {
579+ UnicodeString gitTagOrHash;
580+ gitTagOrHash.translate (slot->getProductInfo ().gitTagOrHash );
581+
582+ text.format (L" %s [%s]" , text.str (), gitTagOrHash.str ());
583+ }
579584
580585 staticTextStatus[rowNum]->winSetEnabledTextColors (frontColor, backColor);
581586 GadgetStaticTextSetText (staticTextStatus[rowNum], text);
You can’t perform that action at this time.
0 commit comments