summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index b3ef47282..d18278834 100644
--- a/src/map.h
+++ b/src/map.h
@@ -513,6 +513,8 @@ public:
// For debug printing
virtual void PrintInfo(std::ostream &out);
+ bool isSavingEnabled(){ return m_map_saving_enabled; }
+
private:
// Seed used for all kinds of randomness
u64 m_seed;