diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 11:27:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 12:34:23 +0300 |
commit | a7d7346b9eb3fa62a8912e31d5c00f8e05390425 (patch) | |
tree | ba2d006e8aaac74138eb13ba458d30abf8f01182 /src/map.cpp | |
parent | 9569f124d176b4220f28f9a41812c33883737228 (diff) | |
download | plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.gz plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.bz2 plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.xz plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.zip |
some more style fixes from cpplint.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 8e2bca209..314b21a2c 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -936,7 +936,7 @@ Path Map::findPath(const int startX, const int startY, // Skip if the tile is on the closed list or is not walkable // unless its the destination tile - //+++ here need check block must depend on player abilities. + // +++ here need check block must depend on player abilities. if (newTile->whichList == mOnClosedList || ((newTile->blockmask & walkmask) && !(x == destX && y == destY)) @@ -954,7 +954,8 @@ Path Map::findPath(const int startX, const int startY, const MetaTile *const t2 = &mMetaTiles[curr.x + dx + curWidth]; - //+++ here need check block must depend on player abilities. + // +++ here need check block must depend + // on player abilities. if (((t1->blockmask | t2->blockmask) & BLOCKMASK_WALL)) continue; } |