This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG), Euroboros (EB), and Down Under Doomers (DUD).
Révision | 8eb5114f1b8549c34f8bf427a676884dcdd8f2c1 (tree) |
---|---|
l'heure | 2022-10-30 12:19:54 |
Auteur | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Fixed two erroneous lines in V_CleanPlayerName.
@@ -669,9 +669,9 @@ | ||
669 | 669 | // [AK] Ignore color codes, also taking into account those that use square brackets. |
670 | 670 | if ( tempColorizedString[j] == TEXTCOLOR_ESCAPE ) |
671 | 671 | { |
672 | - if (( String[++j] != '\0' ) && ( String[j] == '[' )) | |
672 | + if (( tempColorizedString[++j] != '\0' ) && ( tempColorizedString[j] == '[' )) | |
673 | 673 | { |
674 | - while (( String[j] != '\0') && ( String[j] != ']' )) | |
674 | + while (( tempColorizedString[j] != '\0') && ( tempColorizedString[j] != ']' )) | |
675 | 675 | { |
676 | 676 | j++; |
677 | 677 | } |