From 6b8374fa94ba99a0be4be4ad30a6685451d2c8de Mon Sep 17 00:00:00 2001 From: avirox Date: Tue, 10 Jan 2006 03:47:27 +0000 Subject: [PATCH] - Improved accuracy of Rail Gun. Note: it still looks a bit off so sooner or later we might have to fix that. git-svn-id: svn://svn.icculus.org/nexuiz/trunk@802 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- TeamNexuiz/game/gamec/tf_w_railgun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TeamNexuiz/game/gamec/tf_w_railgun.c b/TeamNexuiz/game/gamec/tf_w_railgun.c index 2dea4ccd6..2b1a9f731 100644 --- a/TeamNexuiz/game/gamec/tf_w_railgun.c +++ b/TeamNexuiz/game/gamec/tf_w_railgun.c @@ -37,7 +37,8 @@ void W_RailGun_Attack (void) sound (self, CHAN_WEAPON, "weapons/RailGunfire.wav", 1, ATTN_NORM); self.punchangle_x = -5; - org = self.origin + self.view_ofs + v_forward * 5 + v_right * 14 + v_up * -7; +// org = self.origin + self.view_ofs + v_forward * 5 + v_right * 14 + v_up * -7; + org = self.origin + self.view_ofs + v_forward * 5 + v_right * 1 + v_up * -1; // better accuracy end = self.origin + self.view_ofs + v_forward * 4096; // FireRailgunBullet (org, end, cvar("g_balance_railgun_damage"), WEP_RAILGUN); -- 2.39.2