mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 06:37:19 +00:00
EntityList::GetRandomClient converted to xyz_location
This commit is contained in:
1 parent
8b7a09dbc1
commit
54f3f7f343
4 files changed
+8
-10
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user