Core/Build: Enable Clang PCH support and OS X specific features

Core: Fix warnings here and there
This commit is contained in:
Spp committed 2012-11-09 13:13:45 +01:00
1 parent 90c95806a7
commit 333b8e5159
53 files changed
+506 -941

No files matched your search

+1 -1
View File
@@ -941,7 +941,7 @@ public:
{
wpCreature->SetDisplayId(target->GetDisplayId());
wpCreature->SetObjectScale(0.5f);
wpCreature->SetLevel(point > STRONG_MAX_LEVEL ? STRONG_MAX_LEVEL : point);
wpCreature->SetLevel(std::min<uint32>(point, STRONG_MAX_LEVEL));
}
}
while (result->NextRow());