mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
rebind converted to xyz_location
This commit is contained in:
@@ -1321,11 +1321,9 @@ XS(XS__rebind)
|
||||
Perl_croak(aTHX_ "Usage: rebind(zoneid, x, y, z)");
|
||||
|
||||
int zoneid = (int)SvIV(ST(0));
|
||||
float x = (float)SvNV(ST(1));
|
||||
float y = (float)SvNV(ST(2));
|
||||
float z = (float)SvNV(ST(3));
|
||||
auto location = xyz_location((float)SvNV(ST(1)),(float)SvNV(ST(2)),(float)SvNV(ST(3)));
|
||||
|
||||
quest_manager.rebind(zoneid, x, y, z);
|
||||
quest_manager.rebind(zoneid, location);
|
||||
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user