From 864756cd91a27650e22eb1887ca673c3242305d6 Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Mon, 8 Jul 2002 04:41:12 +0000 Subject: [PATCH] no more shell ejection on LCA, I hope --- reaction/cgame/cg_weapons.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reaction/cgame/cg_weapons.c b/reaction/cgame/cg_weapons.c index e58ae905..77b11666 100644 --- a/reaction/cgame/cg_weapons.c +++ b/reaction/cgame/cg_weapons.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.89 2002/07/08 04:41:12 niceass +// no more shell ejection on LCA, I hope +// // Revision 1.88 2002/06/29 21:57:18 niceass // shotgun fixes // @@ -1677,6 +1680,10 @@ void CG_AddPlayerWeapon(refEntity_t * parent, playerState_t * ps, centity_t * ce CG_AddWeaponWithPowerups(&laser, cent->currentState.powerups); } + // NiceAss: fix for brass ejecting on LCA + if (cg.lca) + cent->ejectBrassTime = 0; + // NiceAss: Tag locations used for shell ejection // The handcannon hacks have ruined my beautiful code =( if (cg.time > cent->ejectBrassTime && cent->ejectBrassTime && weapon->ejectBrassFunc &&