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:
fendrin 2014-02-27 23:20:36 +01:00
parent eb31f8f4e0
commit d04f675c78

View file

@ -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;