From d65dfcfa04a622effcd4cebdfaa5e713ca7627d8 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Mon, 10 Jan 2011 20:19:06 +0100 Subject: Removing default argument values from Map definition The default argument values had no effect, because they are not in the declaration. Updating the codeblock project, because protocol.h had been renamed. Reviewed-by: Bertram --- src/game-server/map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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) -- cgit