Fix scenario editor build

This commit is contained in:
2015-01-10 20:12:49 -05:00
parent 6b107f8273
commit bd0dc55995
5 changed files with 4 additions and 7 deletions

View File

@@ -98,7 +98,7 @@ void save_scenario(fs::path toFile) {
for(size_t i = 0; i < scenario.towns.size(); i++) {
std::string file_basename = 't' + std::to_string(i);
// First the main data.
std::ostream town = scen_file.newFile("scenario/towns/" + file_basename + ".xml");
std::ostream& town = scen_file.newFile("scenario/towns/" + file_basename + ".xml");
// Then the map.
std::ostream& town_map = scen_file.newFile("scenario/towns/" + file_basename + ".map");