diff options
| author | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-01-10 20:19:06 +0100 |
|---|---|---|
| committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-01-10 20:19:06 +0100 |
| commit | d65dfcfa04a622effcd4cebdfaa5e713ca7627d8 (patch) | |
| tree | abcc3c0aa41ca2f860ee2e6d43491ff555fd0512 /src | |
| parent | 7f712f1c9d00182660298d123d120444ef6a4996 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/game-server/map.cpp | 3 |
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) |
