no more shell ejection on LCA, I hope

This commit is contained in:
Bryce Hutchings 2002-07-08 04:41:12 +00:00
parent 0ef2a4ef70
commit 864756cd91
1 changed files with 7 additions and 0 deletions

View File

@ -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 &&