aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/world.hpp')
-rw-r--r--include/world.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/world.hpp b/include/world.hpp
index e240973..cea79c1 100644
--- a/include/world.hpp
+++ b/include/world.hpp
@@ -397,8 +397,8 @@ public:
*/
std::string getSTextureLocation(unsigned int index) const;
- // saves the world's data to an XML file
- void save(void);
+ // saves the world's data to an XML file, either the one provided or the current path
+ void save(const std::string& s="");
// plays/pauses the world's music, according to if a new world is being entered
void bgmPlay(World *prev) const;