patched cvar change exploit (target)

This commit is contained in:
David Anderson 2006-02-01 13:07:36 +00:00
parent 0e3727573e
commit ea34df433a

View File

@ -460,7 +460,7 @@ public cmdMap(id, level, cid)
onlyRcon(name[]) onlyRcon(name[])
{ {
for (new a = 0; a < g_cvarRconNum; ++a) for (new a = 0; a < g_cvarRconNum; ++a)
if (equal(g_cvarRcon[a], name)) if (equali(g_cvarRcon[a], name))
return 1 return 1
return 0 return 0
} }