diff options
author | megamage <none@none> | 2009-04-29 00:26:07 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-29 00:26:07 -0500 |
commit | de11b9e901d1d1caa0634fad541f08f11c5781af (patch) | |
tree | e35503d08ef545e668b8d854da41e0ea6aba3b3b /src/game/FleeingMovementGenerator.cpp | |
parent | 9dd4b8c98599b0bdccea7b9acb61cb4e7a35da8f (diff) |
[7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
Diffstat (limited to 'src/game/FleeingMovementGenerator.cpp')
-rw-r--r-- | src/game/FleeingMovementGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/FleeingMovementGenerator.cpp b/src/game/FleeingMovementGenerator.cpp index 8f9eb6073d5..0b499168538 100644 --- a/src/game/FleeingMovementGenerator.cpp +++ b/src/game/FleeingMovementGenerator.cpp @@ -79,7 +79,7 @@ FleeingMovementGenerator<T>::_getPoint(T &owner, float &x, float &y, float &z) float temp_x, temp_y, angle; const Map * _map = MapManager::Instance().GetBaseMap(owner.GetMapId()); //primitive path-finding - for(uint8 i = 0; i < 18; i++) + for(uint8 i = 0; i < 18; ++i) { if(i_only_forward && i > 2) break; |