summaryrefslogtreecommitdiffstats
path: root/src/game-server/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/map.cpp')
-rw-r--r--src/game-server/map.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/map.cpp b/src/game-server/map.cpp
index e1cebd0..390649d 100644
--- a/src/game-server/map.cpp
+++ b/src/game-server/map.cpp
@@ -45,8 +45,7 @@ bool Location::operator< (const Location &loc) const
return tile->Fcost > loc.tile->Fcost;
}
-Map::Map(int width = 0, int height = 0,
- int twidth = DEFAULT_TILE_LENGTH, int theight = DEFAULT_TILE_LENGTH):
+Map::Map(int width, int height, int twidth, int theight):
mWidth(width), mHeight(height),
mTileWidth(twidth), mTileHeight(theight),
onClosedList(1), onOpenList(2)