void Handicap_Initialize(entity player)
{
- player.m_handicap = 1;
+ CS(player).m_handicap = 1;
}
float Handicap_GetVoluntaryHandicap(entity player)
float Handicap_GetForcedHandicap(entity player)
{
- return player.m_handicap;
+ return CS(player).m_handicap;
}
void Handicap_SetForcedHandicap(entity player, float value)
{
error("Handicap_SetForcedHandicap: Invalid handicap value.");
}
- player.m_handicap = value;
+ CS(player).m_handicap = value;
}
float Handicap_GetTotalHandicap(entity player)