Change the interface of map_location's constructor.
Adds a default Null pointer to the signature of map_location created from a config and a variable_set.
This commit is contained in:
parent
eb31f8f4e0
commit
d04f675c78
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ struct map_location {
|
|||
|
||||
map_location() : x(-1000), y(-1000) {}
|
||||
map_location(int x, int y) : x(x), y(y) {}
|
||||
map_location(const config& cfg, const variable_set *variables);
|
||||
map_location(const config& cfg, const variable_set *variables = NULL);
|
||||
|
||||
void write(config& cfg) const;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue