diff options
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.cpp b/src/object.cpp index b20fa7dc..ddbd10c7 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -67,8 +67,8 @@ void MovingObject::move() int vecX = 0, vecY = 0, cost = 0; for (std::list<PATH_NODE>::const_iterator it = path.begin(), - it_end = path.end(); it != it_end; ++it) { - + it_end = path.end(); it != it_end; ++it) + { int tileNX = it->x, tileNY = it->y; assert((tileNX != tileCX || tileNY != tileCY) && (tileNX != tileDX || tileNY != tileDY)); |