]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Delete the forgotten unused STATs and a bit of LegendaryGuard/ttt code fix
authorLegendaryGuard <rootuser999@gmail.com>
Sun, 18 Apr 2021 07:03:13 +0000 (09:03 +0200)
committerLegendaryGuard <rootuser999@gmail.com>
Sun, 18 Apr 2021 07:03:13 +0000 (09:03 +0200)
qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc
qcsrc/common/stats.qh

index 21ef275f5ed09e6c03daca56c78925855fd78133..e232c7fcd6e8baae03515c15493f265c53d58ab9 100644 (file)
@@ -648,7 +648,7 @@ MUTATOR_HOOKFUNCTION(mmm, Damage_Calculate)
                        {
                                //try to add centerprint message for chat privately if possible
                                corpsemessagestrcat = strcat("^5DEAD PLAYER DETAILS^7: \n^3Name:^7 ", target.netname, "\n^3Role: ^2Civilian", "\n", killedbyphrase, "\n", wepkilledphrase);
-                               corpsemsginfo = strcat("^5DEAD PLAYER DETAILS^7: ^3Name:^7 ", target.netname, "; ^3Role: ^2Civilian", "; ", killedbyphrase, "; ", wepkilledphrase);
+                               corpsemsginfo = strcat("^5DEAD PLAYER DETAILS^7: ^3Name:^7 ", target.netname, "   ^3Role: ^2Civilian", "   ", killedbyphrase, "   ", wepkilledphrase);
                                //centerprint(attacker, strcat(BOLD_OPERATOR, corpsemessagestrcat));
                                Send_Notification(NOTIF_ONE_ONLY, attacker, MSG_CENTER, CENTER_MMM_CORPSEDETECTION, corpsemessagestrcat);
                                Send_Notification(NOTIF_ONE_ONLY, attacker, MSG_INFO, INFO_MMM_CORPSEDETECTION, corpsemsginfo);
@@ -656,7 +656,7 @@ MUTATOR_HOOKFUNCTION(mmm, Damage_Calculate)
                        else if (target.mmm_status == MMM_STATUS_MURDERER)
                        {
                                corpsemessagestrcat = strcat("^5DEAD PLAYER DETAILS^7: \n^3Name:^7 ", target.netname, "\n^3Role: ^1Murderer", "\n", killedbyphrase, "\n", wepkilledphrase);
-                               corpsemsginfo = strcat("^5DEAD PLAYER DETAILS^7: ^3Name:^7 ", target.netname, "; ^3Role: ^1Murderer", "; ", killedbyphrase, "; ", wepkilledphrase);
+                               corpsemsginfo = strcat("^5DEAD PLAYER DETAILS^7: ^3Name:^7 ", target.netname, "   ^3Role: ^1Murderer", "   ", killedbyphrase, "   ", wepkilledphrase);
                                //centerprint(attacker, strcat(BOLD_OPERATOR, corpsemessagestrcat));
                                Send_Notification(NOTIF_ONE_ONLY, attacker, MSG_CENTER, CENTER_MMM_CORPSEDETECTION, corpsemessagestrcat);
                                Send_Notification(NOTIF_ONE_ONLY, attacker, MSG_INFO, INFO_MMM_CORPSEDETECTION, corpsemsginfo);
@@ -664,7 +664,7 @@ MUTATOR_HOOKFUNCTION(mmm, Damage_Calculate)
                        else if (target.mmm_status == MMM_STATUS_SLEUTH)
                        {
                                corpsemessagestrcat = strcat("^5DEAD PLAYER DETAILS^7: \n^3Name:^7 ", target.netname, "\n^3Role: ^4Sleuth", "\n", killedbyphrase, "\n", wepkilledphrase);
-                               corpsemsginfo = strcat("^5DEAD PLAYER DETAILS^7: ^3Name:^7 ", target.netname, "; ^3Role: ^4Sleuth", "; ", killedbyphrase, "; ", wepkilledphrase);
+                               corpsemsginfo = strcat("^5DEAD PLAYER DETAILS^7: ^3Name:^7 ", target.netname, "   ^3Role: ^4Sleuth", "   ", killedbyphrase, "   ", wepkilledphrase);
                                //centerprint(attacker, strcat(BOLD_OPERATOR, corpsemessagestrcat));
                                Send_Notification(NOTIF_ONE_ONLY, attacker, MSG_CENTER, CENTER_MMM_CORPSEDETECTION, corpsemessagestrcat);
                                Send_Notification(NOTIF_ONE_ONLY, attacker, MSG_INFO, INFO_MMM_CORPSEDETECTION, corpsemsginfo);
index e15a3893b969808bb284233675b03e8686e5e4ea..9db3262581c7954fb50f4b0e06f4ae2600730db0 100644 (file)
@@ -151,13 +151,6 @@ REGISTER_STAT(ITEMSTIME, int, autocvar_sv_itemstime)
 REGISTER_STAT(KILL_TIME, float)
 REGISTER_STAT(VEIL_ORB, float)
 REGISTER_STAT(VEIL_ORB_ALPHA, float)
-REGISTER_STAT(ARMORIZING_ORB, float) //LegendGuard registers new STAT 11-02-2021
-REGISTER_STAT(ARMORIZING_ORB_ALPHA, float)
-REGISTER_STAT(AMMUNITIONING_ORB, float) //LegendGuard registers new STAT 11-02-2021
-REGISTER_STAT(AMMUNITIONING_ORB_ALPHA, float)
-REGISTER_STAT(DARK_ORB, float) //LegendGuard registers new STAT 08-02-2021
-REGISTER_STAT(DARK_ORB_ALPHA, float)
-REGISTER_STAT(TKA_BALLSTATUS, int) //LegendGuard adds STAT from Mario/team_keepaway 15-02-2021
 #ifdef SVQC
 float autocvar_sv_showfps = 0;
 #endif