1
0

Improved cBlockHandler::DropBlock

This commit is contained in:
Tiger Wang
2014-09-13 22:49:27 +01:00
parent 52d86728e6
commit fdabfd77e2
5 changed files with 35 additions and 47 deletions

View File

@@ -283,7 +283,7 @@ void cMonster::Tick(float a_Dt, cChunk & a_Chunk)
}
}
Vector3f Distance = m_Destination - GetPosition();
Vector3d Distance = m_Destination - GetPosition();
if (!ReachedDestination() && !ReachedFinalDestination()) // If we haven't reached any sort of destination, move
{
Distance.y = 0;