]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
The builtin centerprint in the server simply calls the csqc centerprint so better...
authorterencehill <piuntn@gmail.com>
Fri, 1 Jul 2011 19:34:47 +0000 (21:34 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 1 Jul 2011 19:34:47 +0000 (21:34 +0200)
qcsrc/server/builtins.qh
qcsrc/server/miscfunctions.qc

index ef54b1d38f57a0126ecf231aab0194b31ad603b3..cf0198b4c54aa83d0650832286014c49521f6a5a 100644 (file)
@@ -64,7 +64,7 @@ void  makestatic (entity e)                                                           = #69;
 void   changelevel (string s)                                                          = #70;
 
 void   cvar_set (string var, string val)                                               = #72;
-//void(entity client, string s) centerprint = #73;
+void(entity client, string s) centerprint = #73;
 void   ambientsound (vector pos, string samp, float vol, float atten)                  = #74;
 string precache_model2 (string s)                                                      = #75;
 string precache_sound2 (string s)                                                      = #76;
index 982a996caea275841815db7b163c0fce9c4a6ef3..3b4cde5962120cb612c3ca75a2c14ae35f1306bc 100644 (file)
@@ -717,12 +717,6 @@ float NumberToTeamNumber(float number)
        return -1;
 }
 
-void Send_CSQC_Centerprint_Generic(entity e, float id, string s1, float duration, float countdown_num);
-void centerprint(entity e, string s)
-{
-       Send_CSQC_Centerprint_Generic(e, 0, s, 0, 0);
-}
-
 // decolorizes and team colors the player name when needed
 string playername(entity p)
 {