diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-07 22:13:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-07 22:13:07 +0300 |
commit | ea2f53614e087dd4eae470611237d89898c0a1eb (patch) | |
tree | 166797388cafa8b45ab3fe3f69fa93e952ee31d2 /src | |
parent | 21277ad5c877d90680b757b058a3759e8f8b5559 (diff) | |
download | plus-ea2f53614e087dd4eae470611237d89898c0a1eb.tar.gz plus-ea2f53614e087dd4eae470611237d89898c0a1eb.tar.bz2 plus-ea2f53614e087dd4eae470611237d89898c0a1eb.tar.xz plus-ea2f53614e087dd4eae470611237d89898c0a1eb.zip |
Fix code style.
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 5723d5ec8..8225aded1 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1443,7 +1443,8 @@ Path Map::findPath(int startX, int startY, int destX, int destY, // corner. if (dx != 0 && dy != 0) { - MetaTile *t1 = &mMetaTiles[curr.x + (curr.y + dy) * mWidth]; + MetaTile *t1 = &mMetaTiles[curr.x + + (curr.y + dy) * mWidth]; MetaTile *t2 = &mMetaTiles[curr.x + dx + curWidth]; //+++ here need check block must depend on player abilities. |