Added break
This commit is contained in:
parent
47119b3027
commit
11bbfbc98a
@ -540,6 +540,7 @@ void cEntity::HandlePhysics(float a_Dt, cChunk & a_Chunk)
|
|||||||
NextPos.x += gCrossCoords[i].x;
|
NextPos.x += gCrossCoords[i].x;
|
||||||
NextPos.z += gCrossCoords[i].z;
|
NextPos.z += gCrossCoords[i].z;
|
||||||
IsNoAirSurrounding = false;
|
IsNoAirSurrounding = false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} // for i - gCrossCoords[]
|
} // for i - gCrossCoords[]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user