From a85c3ab7898567a00df0f753ede2cf9f19a5f815 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 25 Sep 2012 16:19:44 -0400 Subject: [PATCH] Move this stuff too --- qcsrc/common/notifications.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index c1fa98e82..a75f4baba 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -125,6 +125,9 @@ MSG_WEAPON_NOTIFICATIONS #define WRITESPECTATABLE(msg,statement) if(msg == MSG_ONE) { WRITESPECTATABLE_MSG_ONE(statement); } else statement float WRITESPECTATABLE_workaround = 0 #endif +#define NORMAL_OR_GENTLE(normal,gentle) ((autocvar_cl_gentle || autocvar_cl_gentle_messages) ? gentle : normal) +#define HANDLE_CPID(cpid) ((min(256, cpid) == NO_CPID) ? FALSE : cpid) + string CCR(string input) // color code replace, place inside of sprintf and parse the string { input = strreplace("^F1", "^3", input); @@ -147,9 +150,6 @@ string CCR(string input) // color code replace, place inside of sprintf and pars // ========================= #ifdef CSQC -#define NORMAL_OR_GENTLE(normal,gentle) ((autocvar_cl_gentle || autocvar_cl_gentle_messages) ? gentle : normal) -#define HANDLE_CPID(cpid) ((min(256, cpid) == NO_CPID) ? FALSE : cpid) - void Read_Notification() { float net_type = ReadByte(); -- 2.39.2