This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)
Revisión | e957fcea64f335dc93b1db19266e7f717f5ae32a (tree) |
---|---|
Tiempo | 2022-09-15 04:33:59 |
Autor | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Refactored unformatted color strings that were used in the target identification.
@@ -1886,19 +1886,17 @@ | ||
1886 | 1886 | |
1887 | 1887 | if (( pTargetPlayer->mo != NULL ) && ( pTargetPlayer->mo->IsTeammate( camera ))) |
1888 | 1888 | { |
1889 | - targetInfoMsg += "\\n\\cqAlly"; | |
1889 | + targetInfoMsg += "\n" TEXTCOLOR_DARKGREEN "Ally"; | |
1890 | 1890 | } |
1891 | 1891 | else |
1892 | 1892 | { |
1893 | - targetInfoMsg += "\\n\\crEnemy"; | |
1893 | + targetInfoMsg += "\n" TEXTCOLOR_DARKRED "Enemy"; | |
1894 | 1894 | |
1895 | 1895 | // If this player is carrying the terminator artifact, display his name in red. |
1896 | 1896 | if ( (terminator) && (pTargetPlayer->cheats2 & CF2_TERMINATORARTIFACT) ) |
1897 | 1897 | ulTextColor = CR_RED; |
1898 | 1898 | } |
1899 | 1899 | |
1900 | - V_ColorizeString( targetInfoMsg ); | |
1901 | - | |
1902 | 1900 | pMsg = new DHUDMessageFadeOut( SmallFont, targetInfoMsg, |
1903 | 1901 | 1.5f, |
1904 | 1902 | gameinfo.gametype == GAME_Doom ? 0.96f : 0.95f, |