Restore Hornetgun fire phase. (#238)

This commit is contained in:
Marc-Antoine Lortie 2021-12-31 12:03:05 -05:00 committed by GitHub
parent 8768594509
commit 1f23bff236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1637,6 +1637,7 @@ IMPLEMENT_SAVERESTORE( CEgon, CBasePlayerWeapon )
TYPEDESCRIPTION CHgun::m_SaveData[] =
{
DEFINE_FIELD( CHgun, m_flRechargeTime, FIELD_TIME ),
DEFINE_FIELD( CHgun, m_iFirePhase, FIELD_INTEGER ),
};
IMPLEMENT_SAVERESTORE( CHgun, CBasePlayerWeapon )

View File

@ -870,7 +870,7 @@ public:
float m_flRechargeTime;
int m_iFirePhase;// don't save me.
int m_iFirePhase;
virtual BOOL UseDecrement( void )
{