r1871 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Aug 30 02:12:35 EDT 2006
Author: div0
Date: 2006-08-30 02:12:35 -0400 (Wed, 30 Aug 2006)
New Revision: 1871
Modified:
trunk/data/qcsrc/server/g_damage.qc
Log:
oh, and don't forget sound...
Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc 2006-08-30 06:09:51 UTC (rev 1870)
+++ trunk/data/qcsrc/server/g_damage.qc 2006-08-30 06:12:35 UTC (rev 1871)
@@ -525,8 +525,10 @@
// just lose extra LIVES, don't kill the player for mirror damage
if(attacker.extralives > 0)
{
+ centermsg_setfor(attacker, CENTERMSG_MINSTAGIB, strcat("^3Remaining extra lives: ",ftos(targ.extralives)));
attacker.extralives = attacker.extralives - 1;
attacker.armorvalue = attacker.extralives;
+ if(clienttype(attacker) == CLIENTTYPE_REAL) stuffcmd(attacker, "play2 misc/hit.wav\n");
}
mirrordamage = 0;
}
More information about the nexuiz-commits
mailing list