GetSpawnPointX(), GetSpawnPointY(), GetSpawnPointZ(), and GetSpawnPointH(), converted to GetSpawnPoint()

This commit is contained in:
Arthur Ice
2014-11-30 15:58:44 -08:00
parent 2e6711916e
commit e6d23228e5
3 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -269,7 +269,8 @@ void Lua_NPC::PauseWandering(int pause_time) {
void Lua_NPC::MoveTo(float x, float y, float z, float h, bool save) {
Lua_Safe_Call_Void();
self->MoveTo(x, y, z, h, save);
auto position = xyz_heading(x, y, z, h);
self->MoveTo(position, save);
}
void Lua_NPC::NextGuardPosition() {