1
0

Fixed double to float conversions.

This commit is contained in:
madmaxoft
2014-03-16 22:00:28 +01:00
parent 260d13c7a4
commit 89027cb675
4 changed files with 57 additions and 56 deletions

View File

@@ -1062,7 +1062,7 @@ void cIncrementalRedstoneSimulator::HandlePressurePlate(int a_BlockX, int a_Bloc
{
Vector3f EntityPos = a_Entity->GetPosition();
Vector3f BlockPos(m_X + 0.5f, (float)m_Y, m_Z + 0.5f);
float Distance = (EntityPos - BlockPos).Length();
double Distance = (EntityPos - BlockPos).Length();
if (Distance <= 0.7)
{