1
0

Another intendation error

This commit is contained in:
Christophe Piveteau 2014-08-13 19:18:11 +02:00
parent 3698c5c829
commit 3f117897fb

View File

@ -881,9 +881,9 @@ bool cMinecart::TestEntityCollision(NIBBLETYPE a_RailMeta)
if ( Distance.z == 0. )
{
Distance.z = 0.0001;
Distance.z = 0.0001;
}
if ( ((Distance.z>=0)&&((Distance.x/Distance.z)>=1)) || ((Distance.z<0)&&((Distance.x/Distance.z)<=1)) )
{
if ( (-GetSpeedX() * 0.4) < 0.01 )