Core/Misc: Remove trailing whitespace, compile warnings and minor cosmetic changes

This commit is contained in:
Spp committed 2013-05-21 08:37:28 +02:00
1 parent d3c2af0f66
commit 00c1168897
24 files changed
+95 -95

No files matched your search

+1 -1
View File
@@ -701,7 +701,7 @@ dtStatus PathGenerator::FindSmoothPath(float const* startPos, float const* endPo
// Find movement delta.
float delta[VERTEX_SIZE];
dtVsub(delta, steerPos, iterPos);
float len = dtSqrt(dtVdot(delta,delta));
float len = dtSqrt(dtVdot(delta, delta));
// If the steer target is end of path or off-mesh link, do not move past the location.
if ((endOfPath || offMeshConnection) && len < SMOOTH_PATH_STEP_SIZE)
len = 1.0f;