1
0

Maked it compileable for clang-3.7

This commit is contained in:
Lukas Pioch
2015-09-24 16:04:44 +02:00
parent 02f65168b1
commit e56aa4032d
8 changed files with 20 additions and 20 deletions

View File

@@ -490,7 +490,7 @@ void cChunk::CollectMobCensus(cMobCensus & toFill)
{
auto & Monster = reinterpret_cast<cMonster &>(*entity);
currentPosition = Monster.GetPosition();
for (const auto PlayerPos : PlayerPositions)
for (const auto & PlayerPos : PlayerPositions)
{
toFill.CollectMob(Monster, *this, (currentPosition - PlayerPos).SqrLength());
}