diff options
Diffstat (limited to 'src/game-server/map.cpp')
-rw-r--r-- | src/game-server/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/map.cpp b/src/game-server/map.cpp index 147d5afa..e5af1c32 100644 --- a/src/game-server/map.cpp +++ b/src/game-server/map.cpp @@ -45,7 +45,7 @@ bool Location::operator< (const Location &loc) const Map::Map(int width, int height, int twidth, int theight): mWidth(width), mHeight(height), - tileWidth(twidth), tileHeight(theight), + mTileWidth(twidth), mTileHeight(theight), onClosedList(1), onOpenList(2) { mMetaTiles = new MetaTile[mWidth * mHeight]; @@ -142,7 +142,7 @@ void Map::freeTile(int x, int y, BlockType type) mMetaTiles[tileNum].blockmask &= (BLOCKMASK_MONSTER xor 0xff); break; default: - // shut up! + // nothing break; } } |