r3449 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Feb 28 11:24:22 EST 2008


Author: div0
Date: 2008-02-28 11:24:21 -0500 (Thu, 28 Feb 2008)
New Revision: 3449

Modified:
   trunk/data/qcsrc/server/w_rocketlauncher.qc
Log:
stupid workaround for stupid "bug"


Modified: trunk/data/qcsrc/server/w_rocketlauncher.qc
===================================================================
--- trunk/data/qcsrc/server/w_rocketlauncher.qc	2008-02-28 15:59:54 UTC (rev 3448)
+++ trunk/data/qcsrc/server/w_rocketlauncher.qc	2008-02-28 16:24:21 UTC (rev 3449)
@@ -241,7 +241,7 @@
 	setmodel (missile, "models/rocket.md3"); // precision set below
 	setsize (missile, '-3 -3 -3', '3 3 3'); // give it some size so it can be shot
 
-	setorigin (missile, w_shotorg);
+	setorigin (missile, w_shotorg - v_forward * 3); // move it back so it hits the wall at the right point
 	if(g_laserguided_missile && self.laser_on)
 		missile.velocity = w_shotdir * cvar("g_balance_rocketlauncher_laserguided_speedstart");
 	else




More information about the nexuiz-commits mailing list