Merged revision 3260 from 1.77; Stats would not display on awkward mp_roundtime settings

This commit is contained in:
Steve Dudenhoeffer 2007-01-26 06:15:49 +00:00
parent 8420823713
commit b324e8ed9d
2 changed files with 2 additions and 2 deletions

View File

@ -566,7 +566,7 @@ public showStatus(id)
public eNewRound()
{
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0))
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
{
g_firstBlood = 1
g_C4Timer = 0

View File

@ -1272,7 +1272,7 @@ public eventStartRound()
iRoundTime = read_data(1)
if (iRoundTime >= get_cvar_float("mp_roundtime") * 60)
if (read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0,floatround_floor))
{
#if defined STATSX_DEBUG
log_amx("Reset round stats")