Cosmetic changes

This commit is contained in:
s1lent 2018-05-22 16:29:08 +07:00
parent 9d8210029f
commit 0022272244
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C
4 changed files with 8 additions and 9 deletions

View File

@ -647,7 +647,7 @@ public:
VFUNC void BalanceTeams();
VFUNC void SwapAllPlayers();
VFUNC void UpdateTeamScores();
VFUNC void EndRoundMessage(const char *sentence, int event);
VFUNC void EndRoundMessage(const char *sentence, ScenarioEventEndRound event);
VFUNC void SetAccountRules(RewardRules rules, int amount) { m_rgRewardAccountRules[rules] = static_cast<RewardAccount>(amount); }
VFUNC RewardAccount GetAccountRules(RewardRules rules) const { return m_rgRewardAccountRules[rules]; }
@ -890,7 +890,6 @@ void SV_CareerAddTask_f();
void SV_CareerMatchLimit_f();
void Broadcast(const char *sentence);
char *GetTeam(int team);
void EndRoundMessage(const char *sentence, int event);
void DestroyMapCycle(mapcycle_t *cycle);
int ReloadMapCycleFile(char *filename, mapcycle_t *cycle);
int CountPlayers();

View File

@ -155,7 +155,7 @@ char *GetTeam(int team)
}
}
void CHalfLifeMultiplay::EndRoundMessage(const char *sentence, int event)
void CHalfLifeMultiplay::EndRoundMessage(const char *sentence, ScenarioEventEndRound event)
{
char *team = nullptr;
const char *message = sentence;
@ -1978,7 +1978,7 @@ void EXT_FUNC CHalfLifeMultiplay::__API_HOOK(RestartRound)()
// Reset game variables
m_flIntermissionEndTime = 0;
m_flIntermissionStartTime = 0;
m_flRestartRoundTime = 0.0;
m_flRestartRoundTime = 0;
m_iAccountTerrorist = m_iAccountCT = 0;
m_iHostagesRescued = 0;
m_iHostagesTouched = 0;