mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
Move m_rgRewardAccountRules_default to CHalfLifeMultiplay
This commit is contained in:
parent
0fa5e32208
commit
2174205530
@ -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)
|
||||
|
@ -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
|
||||
@ -118,7 +118,7 @@ bool CCStrikeGameMgrHelper::CanPlayerHearPlayer(CBasePlayer *pListener, CBasePla
|
||||
BOOL bListenerAlive = pListener->IsAlive();
|
||||
BOOL bSenderAlive = pSender->IsAlive();
|
||||
|
||||
return (bListenerAlive == bSenderAlive || bSenderAlive); // Dead/alive voice chats are separated, but dead can hear alive.
|
||||
return (bListenerAlive == bSenderAlive || bSenderAlive); // Dead/alive voice chats are separated, but dead can hear alive.
|
||||
}
|
||||
|
||||
void Broadcast(const char *sentence)
|
||||
|
Loading…
x
Reference in New Issue
Block a user