diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-28 00:45:34 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:56 +0200 |
commit | 842eb5da280b09e046531dd03fe9b9b20752ad12 (patch) | |
tree | 97d26292a9162c8c713aa3cacb0914d6c35d3b78 /src/map.h | |
parent | 05df2ee8a4fe6bd4fcb1879fd418ef6ad301fcf4 (diff) | |
download | minetest-842eb5da280b09e046531dd03fe9b9b20752ad12.tar.gz minetest-842eb5da280b09e046531dd03fe9b9b20752ad12.tar.bz2 minetest-842eb5da280b09e046531dd03fe9b9b20752ad12.zip |
Replace old active block random node modifying things with actual ActiveBlockModifiers
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -32,6 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "constants.h" #include "voxel.h" #include "utility.h" // Needed for UniqueQueue, a member of Map +#include "modifiedstate.h" extern "C" { #include "sqlite3.h" @@ -236,7 +237,7 @@ public: virtual void beginSave() {return;}; virtual void endSave() {return;}; - virtual void save(bool only_changed){assert(0);}; + virtual void save(ModifiedState save_level){assert(0);}; // Server implements this. // Client leaves it as no-op. @@ -396,7 +397,7 @@ public: void beginSave(); void endSave(); - void save(bool only_changed); + void save(ModifiedState save_level); //void loadAll(); void listAllLoadableBlocks(core::list<v3s16> &dst); |