]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't do intermission in RPG, since no one wins or looses there
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 27 Sep 2010 13:09:37 +0000 (16:09 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 27 Sep 2010 13:09:37 +0000 (16:09 +0300)
data/qcsrc/client/View.qc
data/qcsrc/server/g_world.qc

index b497665a19f964f8faf6cbb2240667e16e7825af..04e29f75222dc61747095245d5f40405063f0c8b 100644 (file)
@@ -492,7 +492,7 @@ void CSQC_UpdateView(float w, float h)
 \r
        // Draw Artwork\r
        if(intermission && !isdemo()) // the match has ended\r
-       if(!spectatee_status)\r
+       if(!spectatee_status && gametype != GAME_RPG) // no one wins or loses in RPG\r
        {\r
                if(artwork_image == "")\r
                {\r
index 8e37d917db355147720311bdabba2ef205e56c55..ac9acf73d2defbc4d01121ef08eb4572a3c6016a 100644 (file)
@@ -1351,7 +1351,7 @@ void FixIntermissionClient(entity e)
                                e.weaponentity.weaponentity.effects = EF_NODRAW;\r
                }\r
                if(clienttype(e) == CLIENTTYPE_REAL)\r
-               if(!e.spectatee_status)\r
+               if(!e.spectatee_status && !cvar("g_rpg")) // no one wins or loses in RPG\r
                {\r
                        stuffcmd(e, "\nscr_printspeed 1000000\n");\r
                        if(e.winning)\r