Drop redundant border_size argument from gamemap::write

This was rendered unnecessary in in2f650419dad963f7ad as the gamemap namespace already has
border_size_ assigned to gamemap::default_border, and 6b78073b49 removed the passing
of any other value
This commit is contained in:
Charles Dang 2015-08-14 10:11:19 +11:00
parent e9d70dbc1e
commit 730d837296
2 changed files with 2 additions and 3 deletions

View file

@ -157,9 +157,8 @@ gamemap::~gamemap()
{
}
void gamemap::read(const std::string& data, const bool allow_invalid, int border_size) {
void gamemap::read(const std::string& data, const bool allow_invalid) {
// Initial stuff
border_size_ = border_size;
tiles_.clear();
villages_.clear();
std::fill(startingPositions_, startingPositions_ +

View file

@ -94,7 +94,7 @@ public:
virtual ~gamemap();
void read(const std::string& data, const bool allow_invalid = true, const int border_size = gamemap::default_border);
void read(const std::string& data, const bool allow_invalid = true);
std::string write() const;