Fix TC build

This commit is contained in:
Rochet2
2016-08-01 18:28:43 +03:00
parent e686bcb33f
commit e91a065239
2 changed files with 2 additions and 2 deletions

View File

@@ -1705,7 +1705,7 @@ namespace LuaGlobalFunctions
GameObject* object = new GameObject;
uint32 guidLow = map->GenerateLowGuid<HighGuid::GameObject>();
if (!object->Create(guidLow, objectInfo->entry, map, phase, x, y, z, o, 0.0f, 0.0f, 0.0f, 0.0f, 0, GO_STATE_READY))
if (!object->Create(guidLow, objectInfo->entry, map, phase, Position(x, y, z, o), G3D::Quat(), 0, GO_STATE_READY))
{
delete object;
Eluna::Push(L);

View File

@@ -668,7 +668,7 @@ namespace LuaWorldObject
#ifndef TRINITY
Eluna::Push(L, obj->SummonGameObject(entry, x, y, z, o, respawnDelay));
#else
Eluna::Push(L, obj->SummonGameObject(entry, x, y, z, o, 0, 0, 0, 0, respawnDelay));
Eluna::Push(L, obj->SummonGameObject(entry, Position(x, y, z, o), G3D::Quat(), respawnDelay));
#endif
return 1;
}