mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
Cosmetic changes
This commit is contained in:
parent
9d8210029f
commit
0022272244
@ -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();
|
||||
|
@ -1190,7 +1190,7 @@ CGrenade *CGrenade::__API_HOOK(ShootSatchelCharge)(entvars_t *pevOwner, VectorRe
|
||||
TraceResult tr;
|
||||
UTIL_TraceLine(vecStart, vecStart + Vector(0, 0, -8192), ignore_monsters, ENT(pevOwner), &tr);
|
||||
pGrenade->pev->oldorigin = (tr.flFraction == 1.0) ? vecStart : tr.vecEndPos;
|
||||
|
||||
|
||||
pGrenade->pev->nextthink = gpGlobals->time + 0.01f;
|
||||
#else
|
||||
pGrenade->pev->nextthink = gpGlobals->time + 0.1f;
|
||||
@ -1283,7 +1283,7 @@ void CGrenade::C4Think()
|
||||
{
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
pev->origin = pev->oldorigin;
|
||||
|
||||
|
||||
if (DROP_TO_FLOOR(edict()) > 0)
|
||||
{
|
||||
pev->velocity = g_vecZero;
|
||||
|
@ -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;
|
||||
|
@ -106,7 +106,7 @@ void CC4::PrimaryAttack()
|
||||
|
||||
int inBombZone = (m_pPlayer->m_signals.GetState() & SIGNAL_BOMB) == SIGNAL_BOMB;
|
||||
int onGround = (m_pPlayer->pev->flags & FL_ONGROUND) == FL_ONGROUND;
|
||||
|
||||
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
if (!onGround)
|
||||
{
|
||||
@ -114,8 +114,8 @@ void CC4::PrimaryAttack()
|
||||
UTIL_TraceLine(m_pPlayer->pev->origin, m_pPlayer->pev->origin + Vector(0, 0, -8192), ignore_monsters, m_pPlayer->edict(), &tr);
|
||||
onGround = tr.flFraction != 1.0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
bool bPlaceBomb = (onGround && inBombZone);
|
||||
|
||||
if (!m_bStartedArming)
|
||||
|
Loading…
x
Reference in New Issue
Block a user