]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/miscfunctions.qc
Get VoreTournament code to compile with gmqcc. To be compiled with the same parameter...
[voretournament/voretournament.git] / data / qcsrc / client / miscfunctions.qc
index 5e098d9a089f037ea718e1c73c9c7b3b83c5954f..dcbeca3eda41e1004ec7a01421f8d0d9e0f6606f 100644 (file)
@@ -1,4 +1,4 @@
-var float(string text, float handleColors, vector fontSize) stringwidth;\r
+float(string text, float handleColors, vector fontSize) stringwidth;\r
 \r
 entity players;\r
 entity teams;\r
@@ -180,6 +180,12 @@ void Announcer_Precache () {
 \r
        precache_sound (strcat("announcer/", cvar_string("cl_announcer"), "/lastsecond.wav"));\r
        precache_sound (strcat("announcer/", cvar_string("cl_announcer"), "/narrowly.wav"));\r
+\r
+       precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/health.wav"));\r
+       precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/armor.wav"));\r
+       precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/ammo.wav"));\r
+       precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/speed.wav"));\r
+       precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/stomachload.wav"));\r
 }\r
 \r
 void AuditLists()\r