Core/Globals: Fixed FormatException on startup (#16)

This commit is contained in:
Caydan
2018-01-28 18:22:34 +01:00
committed by hondacrx
parent c93e0fdcd0
commit 95e76df6ff
+3 -3
View File
@@ -4010,7 +4010,7 @@ namespace Game
if (data.rotation.X < -1.0f || data.rotation.X > 1.0f)
{
Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationX ({1}) value, skip", guid, data.id, data.rotation.X);
Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationX ({2}) value, skip", guid, data.id, data.rotation.X);
continue;
}
@@ -4022,13 +4022,13 @@ namespace Game
if (data.rotation.Z < -1.0f || data.rotation.Z > 1.0f)
{
Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationZ ({3}) value, skip", guid, data.id, data.rotation.Z);
Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationZ ({2}) value, skip", guid, data.id, data.rotation.Z);
continue;
}
if (data.rotation.W < -1.0f || data.rotation.W > 1.0f)
{
Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationW ({4}) value, skip", guid, data.id, data.rotation.W);
Log.outError(LogFilter.Sql, "Table `gameobject` has gameobject (GUID: {0} Entry: {1}) with invalid rotationW ({2}) value, skip", guid, data.id, data.rotation.W);
continue;
}