mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 11:28:25 +00:00
EntityList::GetRandomClient converted to xyz_location
This commit is contained in:
@@ -298,12 +298,12 @@ void Lua_EntityList::MessageGroup(Lua_Mob who, bool skip_close, uint32 type, con
|
||||
|
||||
Lua_Client Lua_EntityList::GetRandomClient(float x, float y, float z, float dist) {
|
||||
Lua_Safe_Call_Class(Lua_Client);
|
||||
return self->GetRandomClient(x, y, z, dist);
|
||||
return self->GetRandomClient(xyz_location(x, y, z), dist);
|
||||
}
|
||||
|
||||
Lua_Client Lua_EntityList::GetRandomClient(float x, float y, float z, float dist, Lua_Client exclude) {
|
||||
Lua_Safe_Call_Class(Lua_Client);
|
||||
return self->GetRandomClient(x, y, z, dist, exclude);
|
||||
return self->GetRandomClient(xyz_location(x, y, z), dist, exclude);
|
||||
}
|
||||
|
||||
Lua_Mob_List Lua_EntityList::GetMobList() {
|
||||
|
||||
Reference in New Issue
Block a user