From: MirceaKitsune Date: Mon, 27 Sep 2010 13:09:37 +0000 (+0300) Subject: Don't do intermission in RPG, since no one wins or looses there X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fca2c278c050b6e2e65c479ec20099d4593da8f4;p=voretournament%2Fvoretournament.git Don't do intermission in RPG, since no one wins or looses there --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index b497665a..04e29f75 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -492,7 +492,7 @@ void CSQC_UpdateView(float w, float h) // Draw Artwork if(intermission && !isdemo()) // the match has ended - if(!spectatee_status) + if(!spectatee_status && gametype != GAME_RPG) // no one wins or loses in RPG { if(artwork_image == "") { diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index 8e37d917..ac9acf73 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -1351,7 +1351,7 @@ void FixIntermissionClient(entity e) e.weaponentity.weaponentity.effects = EF_NODRAW; } if(clienttype(e) == CLIENTTYPE_REAL) - if(!e.spectatee_status) + if(!e.spectatee_status && !cvar("g_rpg")) // no one wins or loses in RPG { stuffcmd(e, "\nscr_printspeed 1000000\n"); if(e.winning)