diff options
author | maximius <none@none> | 2009-10-17 16:20:24 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 16:20:24 -0700 |
commit | 3f338cc1c328c7280957583b50598292cd8fb64b (patch) | |
tree | ca209c2cd024e3902b7844b3224bceff7c5bb570 /src/game/Path.h | |
parent | e585187b248f48b3c6e9247b49fa07c6565d65e5 (diff) |
*Massive cleanup redux.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Path.h')
-rw-r--r-- | src/game/Path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Path.h b/src/game/Path.h index 2fd6723b01c..b4fa5f9da0c 100644 --- a/src/game/Path.h +++ b/src/game/Path.h @@ -46,7 +46,7 @@ class Path float GetTotalLength(uint32 start, uint32 end) const { float len = 0, xd, yd, zd; - for(unsigned int idx=start+1; idx < end; ++idx) + for (unsigned int idx=start+1; idx < end; ++idx) { xd = i_nodes[ idx ].x - i_nodes[ idx-1 ].x; yd = i_nodes[ idx ].y - i_nodes[ idx-1 ].y; @@ -59,7 +59,7 @@ class Path float GetPassedLength(uint32 curnode, float x, float y, float z) { float len = 0, xd, yd, zd; - for(unsigned int idx=1; idx < curnode; ++idx) + for (unsigned int idx=1; idx < curnode; ++idx) { xd = i_nodes[ idx ].x - i_nodes[ idx-1 ].x; yd = i_nodes[ idx ].y - i_nodes[ idx-1 ].y; |