]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whoops, forgot that one
authorSamual Lenks <samual@xonotic.org>
Wed, 8 May 2013 03:12:50 +0000 (23:12 -0400)
committerSamual Lenks <samual@xonotic.org>
Wed, 8 May 2013 03:12:50 +0000 (23:12 -0400)
qcsrc/server/g_damage.qc

index 6687f18ebc24064cf023faaa1c9a6b766cdb9396..fcabe6daf40ba28666593d79d55dbda3f19bd759 100644 (file)
@@ -240,7 +240,7 @@ void Obituary_SpecialDeath(
 {
        if(DEATH_ISSPECIAL(deathtype))
        {
-               entity deathent = deathtypes[(deathtype - DT_FIRST) - 1];
+               entity deathent = deathtypes[(deathtype - DT_FIRST)];
                if not(deathent) { backtrace("Obituary_SpecialDeath: Could not find deathtype entity!\n"); return; }
 
                if(murder)