]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
wow, why was there two GiveFrags() calls? No wonder you got -2 points when suiciding...
authorFruitieX <rasse@rasse-lappy.localdomain>
Tue, 29 Jun 2010 00:18:39 +0000 (03:18 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Tue, 29 Jun 2010 00:18:39 +0000 (03:18 +0300)
qcsrc/server/g_damage.qc

index 30e49cd56f7d782b11c0721fee96bde7bba0396b..3431129c32420e0efa53cc32242d1b826f693b5f 100644 (file)
@@ -294,11 +294,6 @@ void Obituary (entity attacker, entity inflictor, entity targ, float deathtype)
                                msg = ColoredTeamName(targ.team); // TODO: check if needed?
                        Send_CSQC_Centerprint(targ, msg, "", deathtype, MSG_SUICIDE);
 
-                       if(deathtype != DEATH_TEAMCHANGE && deathtype != DEATH_QUIET)
-                       {
-                               LogDeath("suicide", deathtype, targ, targ);
-                               GiveFrags(attacker, targ, -1);
-                       }
                        // TODO: hmm?
                        /*
                                if (targ.killcount > 2)