1
0

Fixed clang compilation

This commit is contained in:
andrew 2014-03-25 11:40:54 +02:00
parent ba42166411
commit c8445cd934
2 changed files with 17 additions and 14 deletions

View File

@ -160,6 +160,8 @@ public:
World->DoWithMobHeadAt(a_BlockX, a_BlockY, a_BlockZ, Callback);
a_ChunkInterface.SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, a_BlockMeta);
if (a_BlockMeta == SKULL_TYPE_WITHER)
{
static const Vector3i Coords[] =
{
Vector3i( 0, 0, 0),
@ -176,6 +178,7 @@ public:
}
} // for i - Coords[]
}
}
} ;

View File

@ -28,7 +28,7 @@ bool cWither::IsArmored(void) const
bool cWither::Initialize(cWorld * a_World) override
bool cWither::Initialize(cWorld * a_World)
{
// Set health before BroadcastSpawnEntity()
SetHealth(GetMaxHealth() / 3);