1
0

Fixed indentation

This commit is contained in:
tonibm19 2013-10-28 20:58:50 +01:00
parent 8c9fa9cf35
commit 1841d77952

View File

@ -1,4 +1,3 @@
// ProjectileEntity.cpp // ProjectileEntity.cpp
// Implements the cProjectileEntity class representing the common base class for projectiles, as well as individual projectile types // Implements the cProjectileEntity class representing the common base class for projectiles, as well as individual projectile types
@ -247,8 +246,6 @@ void cProjectileEntity::OnHitSolidBlock(const Vector3d & a_HitPos, char a_HitFac
SetPosition(a_HitPos); SetPosition(a_HitPos);
SetSpeed(0, 0, 0); SetSpeed(0, 0, 0);
// DEBUG: // DEBUG:
LOGD("Projectile %d: pos {%.02f, %.02f, %.02f}, hit solid block at face %d", LOGD("Projectile %d: pos {%.02f, %.02f, %.02f}, hit solid block at face %d",
m_UniqueID, m_UniqueID,
@ -483,10 +480,10 @@ void cThrownEggEntity::OnHitSolidBlock(const Vector3d & a_HitPos, char a_HitFace
else if (m_World->GetTickRandomNumber(32) == 1) else if (m_World->GetTickRandomNumber(32) == 1)
{ {
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken); m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
} }
Destroy(); Destroy();
} }