mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
no more shell ejection on LCA, I hope
This commit is contained in:
parent
0ef2a4ef70
commit
864756cd91
1 changed files with 7 additions and 0 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue