r4688 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Oct 9 07:26:45 EDT 2008


Author: div0
Date: 2008-10-09 07:26:45 -0400 (Thu, 09 Oct 2008)
New Revision: 4688

Modified:
   trunk/data/qcsrc/server/portals.qc
Log:
- make portals easier to destruct (200 health instead of 300)
- fix bug that caused red portal to never regenerate


Modified: trunk/data/qcsrc/server/portals.qc
===================================================================
--- trunk/data/qcsrc/server/portals.qc	2008-10-09 10:53:49 UTC (rev 4687)
+++ trunk/data/qcsrc/server/portals.qc	2008-10-09 11:26:45 UTC (rev 4688)
@@ -200,7 +200,8 @@
 	// reset fade counter
 	teleporter.portal_wants_to_vanish = 0;
 	teleporter.fade_time = time + 15;
-	teleporter.enemy.health = 300;
+	teleporter.health = 200;
+	teleporter.enemy.health = 200;
 
 	return 1;
 }
@@ -595,7 +596,7 @@
 	portal.fade_time = time + 15;
 	portal.portal_activatetime = time + 0.1;
 	portal.event_damage = Portal_Damage;
-	portal.health = 300;
+	portal.health = 200;
 	setmodel(portal, "models/portal.md3");
 	portal.modelindex_lod0 = portal.modelindex;
 	portal.customizeentityforclient = Portal_Customize;




More information about the nexuiz-commits mailing list