Core/Cleanup:

Mostly if(.. -> if (.. and for(.. -> for (..
but also some miscellaneous cleanup
This commit is contained in:
kaelima committed 2012-04-08 23:59:52 +02:00
1 parent 38d5fbac0e
commit 49e24e2dfb
23 files changed
+63 -84

No files matched your search

+1 -1
View File
@@ -1630,7 +1630,7 @@ void WorldObject::UpdateAllowedPositionZ(float x, float y, float &z) const
default:
{
float ground_z = GetBaseMap()->GetHeight(GetPhaseMask(), x, y, z, true);
if(ground_z > INVALID_HEIGHT)
if (ground_z > INVALID_HEIGHT)
z = ground_z;
break;
}