EntityList::GetRandomClient converted to xyz_location

This commit is contained in:
Arthur Ice
2014-11-30 22:28:17 -08:00
parent 8b7a09dbc1
commit 54f3f7f343
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -1875,7 +1875,7 @@ XS(XS_EntityList_GetRandomClient)
c = INT2PTR(Client *,tmp);
}
}
RETVAL = entity_list.GetRandomClient(x, y, z, d * d, c);
RETVAL = entity_list.GetRandomClient(xyz_location(x, y, z), d * d, c);
ST(0) = sv_newmortal();
sv_setref_pv(ST(0), "Client", (void*)RETVAL);
}