Remove scoring from RPG gametype. Hope I removed it everywhere...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 3 Sep 2010 00:12:03 +0000 (03:12 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 3 Sep 2010 00:12:03 +0000 (03:12 +0300)
data/qcsrc/server/scores_rules.qc
data/qcsrc/server/teamplay.qc

index d7b1280dc77926fd4adc3fa52444c46e490b0e45..120b684bdec6694c02130baea9dc1596bb5028e1 100644 (file)
@@ -173,4 +173,10 @@ void ScoreRules_assault()
        ScoreInfo_SetLabel_TeamScore(  ST_ASSAULT_OBJECTIVES,    "objectives",      SFL_SORT_PRIO_PRIMARY);\r
        ScoreInfo_SetLabel_PlayerScore(SP_ASSAULT_OBJECTIVES,    "objectives",      SFL_SORT_PRIO_PRIMARY);\r
        ScoreRules_basics_end();\r
+}\r
+\r
+void ScoreRules_rpg()\r
+{\r
+       ScoreRules_basics(0, 0, 0, FALSE);\r
+       ScoreRules_basics_end();\r
 }
\ No newline at end of file
index 4f5dbaa544029607a1ace536e04ca92657e0dc5a..d693a38fe03d9492c130d4d4b8d2d7b025eafa8e 100644 (file)
@@ -349,6 +349,9 @@ void InitGameplayMode()
        {\r
                game = GAME_RPG;\r
                gamemode_name = "Role Play";\r
+               fraglimit_override = 0;\r
+               leadlimit_override = 0;\r
+               ScoreRules_rpg();\r
        }\r
 \r
        if(teams_matter)\r