warning fix

This commit is contained in:
Aokromes committed 2018-03-15 22:08:38 +01:00
1 parent a22175ca4f
commit fa182ef2c6
1 file changed
+1 -1
+1 -1
View File
@@ -1967,7 +1967,7 @@ void ObjectMgr::LoadCreatures()
if (std::abs(data.orientation) > 2 * float(M_PI))
{
TC_LOG_ERROR("sql.sql", "Table `creature` has creature (GUID: %%u Entry: %u) with abs(`orientation`) > 2*PI (orientation is expressed in radians), normalized.", guid, data.id);
TC_LOG_ERROR("sql.sql", "Table `creature` has creature (GUID: %u Entry: %u) with abs(`orientation`) > 2*PI (orientation is expressed in radians), normalized.", guid, data.id);
data.orientation = Position::NormalizeOrientation(data.orientation);
}