Module dpmod: Change committed

havoc at icculus.org havoc at icculus.org
Sun Mar 16 01:01:11 EST 2003


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : dpmod
Commit time: 2003-03-16 06:01:11 UTC

Log message:

added a self kill message for plasma rifle

Modified files:
     qc/w_plasmarifle.qc

------=MIME.a71e9ecaabd305a821cace1198fc8ea5
Content-Type: text/plain; name="dpmod.20030316.060111.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20030316.060111.havoc.diff"
Content-Transfer-Encoding: 8bit

Index: dpmod/qc/w_plasmarifle.qc
diff -u dpmod/qc/w_plasmarifle.qc:1.7 dpmod/qc/w_plasmarifle.qc:1.8
--- dpmod/qc/w_plasmarifle.qc:1.7	Tue Mar 11 14:22:37 2003
+++ dpmod/qc/w_plasmarifle.qc	Sun Mar 16 01:01:00 2003
@@ -10,6 +10,13 @@
 		if (targ.bodyhealth < 1)
 			deathstring2 = " was splattered by ";
 	}
+	else if (dtype == DTYPE_SUICIDE)
+	{
+		deathstring1 = targ.netname;
+		deathstring2 = " became crispy";
+		deathstring3 = "";
+		deathstring4 = "";
+	}
 	else
 		Obituary_Fallback(targ, attacker, dmsg, dtype);
 };


More information about the twilight-commits mailing list