]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use color tags for chat messages instead of 0x80 masking
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Nov 2005 01:16:07 +0000 (01:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Nov 2005 01:16:07 +0000 (01:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5824 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 4b66cd7579555be1cde58f546169c5b450b033a1..1bfe368558f1698a7b19dbd506dda70a4c277b23 100644 (file)
--- a/console.c
+++ b/console.c
@@ -557,16 +557,16 @@ void Con_Print(const char *msg)
                                        // play talk wav
                                        S_LocalSound ("sound/misc/talk.wav");
                                }
-                               if (gamemode == GAME_NEXUIZ)
-                               {
-                                       line[index++] = '^';
+                               //if (gamemode == GAME_NEXUIZ)
+                               //{
+                                       line[index++] = STRING_COLOR_TAG;
                                        line[index++] = '3';
-                               }
-                               else
-                               {
-                                       // go to colored text
-                                       mask = 128;
-                               }
+                               //}
+                               //else
+                               //{
+                               //      // go to colored text
+                               //      mask = 128;
+                               //}
                                msg++;
                        }
                        // store timestamp