Guest User

Untitled

a guest
Aug 1st, 2011
132
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -Naur wolfcamql-src-orig/code/cgame/cg_local.h wolfcamql-src/code/cgame/cg_local.h
  2. --- wolfcamql-src-orig/code/cgame/cg_local.h    2011-07-26 12:29:44.000000000 +0200
  3. +++ wolfcamql-src/code/cgame/cg_local.h 2011-08-01 19:21:28.043202171 +0200
  4. @@ -2579,6 +2579,7 @@
  5.  extern vmCvar_t cg_audioAnnouncerWarmup;
  6.  extern vmCvar_t cg_audioAnnouncerVote;
  7.  extern vmCvar_t cg_audioAnnouncerTeamVote;
  8. +extern vmCvar_t cg_audioAnnouncerTimelimit;
  9.  extern vmCvar_t wolfcam_drawFollowing;
  10.  extern vmCvar_t wolfcam_drawFollowingOnlyName;
  11.  
  12. diff -Naur wolfcamql-src-orig/code/cgame/cg_main.c wolfcamql-src/code/cgame/cg_main.c
  13. --- wolfcamql-src-orig/code/cgame/cg_main.c 2011-07-26 17:08:48.000000000 +0200
  14. +++ wolfcamql-src/code/cgame/cg_main.c  2011-08-01 19:21:59.137321016 +0200
  15. @@ -644,6 +644,7 @@
  16.  vmCvar_t cg_audioAnnouncerWarmup;
  17.  vmCvar_t cg_audioAnnouncerVote;
  18.  vmCvar_t cg_audioAnnouncerTeamVote;
  19. +vmCvar_t cg_audioAnnouncerTimelimit;
  20.  vmCvar_t wolfcam_drawFollowing;
  21.  vmCvar_t wolfcam_drawFollowingOnlyName;
  22.  vmCvar_t cg_printTimeStamps;
  23. @@ -1390,6 +1391,7 @@
  24.     { &cg_audioAnnouncerWarmup, "cg_audioAnnouncerWarmup", "1", CVAR_ARCHIVE },
  25.     { &cg_audioAnnouncerVote, "cg_audioAnnouncerVote", "1", CVAR_ARCHIVE },
  26.     { &cg_audioAnnouncerTeamVote, "cg_audioAnnouncerTeamVote", "1", CVAR_ARCHIVE },
  27. +   { &cg_audioAnnouncerTimelimit, "cg_audioAnnouncerTimelimit", "1", CVAR_ARCHIVE },
  28.     { &wolfcam_drawFollowing, "wolfcam_drawFollowing", "2", CVAR_ARCHIVE },
  29.     { &wolfcam_drawFollowingOnlyName, "wolfcam_drawFollowingOnlyName", "0", CVAR_ARCHIVE },
  30.  
  31. diff -Naur wolfcamql-src-orig/code/cgame/cg_playerstate.c wolfcamql-src/code/cgame/cg_playerstate.c
  32. --- wolfcamql-src-orig/code/cgame/cg_playerstate.c  2011-07-26 12:13:56.000000000 +0200
  33. +++ wolfcamql-src/code/cgame/cg_playerstate.c   2011-08-01 19:20:27.202969787 +0200
  34. @@ -735,7 +735,7 @@
  35.   timelimit_warnings:
  36.     // timelimit warnings
  37.     //if ( cgs.timelimit > 0 ) {
  38. -   if ( cgs.realTimelimit > 0 ) {
  39. +   if ( cg_audioAnnouncerTimelimit.integer && cgs.realTimelimit > 0 ) {
  40.         int     msec;
  41.  
  42.         msec = cg.time - cgs.levelStartTime;
RAW Paste Data