1
0

Pickups spawn with correct speed and position

Added a comment-space as well.
This commit is contained in:
Tiger Wang
2013-09-04 18:26:00 +01:00
parent 6059c44dcb
commit ad89a0d460
2 changed files with 11 additions and 29 deletions

View File

@@ -517,7 +517,7 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
}
else
{
//Push out entity.
// Push out entity.
if (NextChunk->GetBlock( RelBlockX + 1, BlockY, RelBlockZ ) == E_BLOCK_AIR) { NextPos.x += 0.2; }
else if (NextChunk->GetBlock( RelBlockX - 1, BlockY, RelBlockZ ) == E_BLOCK_AIR) { NextPos.x += -0.2; }