Move m_rgRewardAccountRules_default to CHalfLifeMultiplay

This commit is contained in:
s1lent 2017-11-04 06:16:30 +07:00
parent 0fa5e32208
commit 2174205530
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C
2 changed files with 3 additions and 2 deletions

View File

@ -676,6 +676,7 @@ private:
public:
static RewardAccount m_rgRewardAccountRules[RR_END];
static RewardAccount m_rgRewardAccountRules_default[RR_END];
CVoiceGameMgr m_VoiceGameMgr;
float m_flRestartRoundTime; // The global time when the round is supposed to end, if this is not 0 (deprecated name m_fTeamCount)

View File

@ -3,7 +3,7 @@
CCStrikeGameMgrHelper g_GameMgrHelper;
CHalfLifeMultiplay *g_pMPGameRules = nullptr;
RewardAccount CHalfLifeMultiplay::m_rgRewardAccountRules[RR_END];
RewardAccount m_rgRewardAccountRules_default[] = {
RewardAccount CHalfLifeMultiplay::m_rgRewardAccountRules_default[] = {
REWARD_CTS_WIN, // RR_CTS_WIN
REWARD_TERRORISTS_WIN, // RR_TERRORISTS_WIN
REWARD_TARGET_BOMB, // RR_TARGET_BOMB