Core: Fix build

This commit is contained in:
Vincent-Michael committed 2015-04-29 20:33:29 +02:00
1 parent 491dd1852a
commit d178213f90
2 files changed
+3 -3

No files matched your search

@@ -190,9 +190,9 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map* map, uint32 phaseMa
return false;
}
if (goinfo->type == GAMEOBJECT_TYPE_MAP_OBJ_TRANSPORT)
if (goinfo->type == GAMEOBJECT_TYPE_MO_TRANSPORT)
{
TC_LOG_ERROR("sql.sql", "Gameobject (GUID: " UI64FMTD " Entry: %u) not created: gameobject type GAMEOBJECT_TYPE_MAP_OBJ_TRANSPORT cannot be manually created.", guidlow, name_id);
TC_LOG_ERROR("sql.sql", "Gameobject (GUID: %u Entry: %u) not created: gameobject type GAMEOBJECT_TYPE_MO_TRANSPORT cannot be manually created.", guidlow, name_id);
return false;
}