]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix chat issues when in developer mode
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 16 Sep 2015 00:12:15 +0000 (10:12 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Wed, 16 Sep 2015 00:12:15 +0000 (10:12 +1000)
qcsrc/client/main.qc
qcsrc/common/notifications.qc

index 194cde883170c4a94ec471a4d7038bdbdb794afc..17a3fce1c27dbcd9a394b0081aac0a1980044b8c 100644 (file)
@@ -985,7 +985,7 @@ void CSQC_Parse_Print(string strMessage)
        if(autocvar_developer_csqcentities)
                LOG_INFOF("CSQC_Parse_Print(\"%s\")\n", strMessage);
 
-       LOG_INFO(ColorTranslateRGB(strMessage));
+       print(ColorTranslateRGB(strMessage));
 }
 
 // CSQC_Parse_CenterPrint : Provides the centerprint_hud string in the first parameter that the server provided.
index b040a536894fd62eb4d147d6dedb6648e18826ca..16521a849d32f5f7c20c3be16311ab3d0ea3e444 100644 (file)
@@ -1550,7 +1550,7 @@ void Local_Notification(int net_type, int net_name, ...count)
 
                case MSG_INFO:
                {
-                       LOG_INFO(
+                       print(
                                Local_Notification_sprintf(
                                        notif.nent_string,
                                        notif.nent_args,