Fixed formatting and removed gravity thing
parent
178b5884fc
commit
35efe9c727
|
@ -528,7 +528,8 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
|
|||
m_bOnGround = true;
|
||||
|
||||
LOGD("Entity #%d (%s) is inside a block at {%d,%d,%d}",
|
||||
m_UniqueID, GetClass(), BlockX, BlockY, BlockZ);
|
||||
m_UniqueID, GetClass(), BlockX, BlockY,
|
||||
);
|
||||
}
|
||||
|
||||
if (!m_bOnGround)
|
||||
|
|
|
@ -33,7 +33,6 @@ cPickup::cPickup(int a_MicroPosX, int a_MicroPosY, int a_MicroPosZ, const cItem
|
|||
m_MaxHealth = 5;
|
||||
m_Health = 5;
|
||||
SetSpeed(a_SpeedX, a_SpeedY, a_SpeedZ);
|
||||
m_Gravity = -10.0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue