]> git.lizzy.rs Git - minetest.git/blobdiff - src/database-dummy.h
Prevent SIGFPE on entity tile loading issue. (#5178)
[minetest.git] / src / database-dummy.h
index 0cf56928e08d314f2ad11edf5fcc172b106cbc0f..72100edd0bdcb1f3c952db1db3a16d6317ab167a 100644 (file)
@@ -28,10 +28,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 class Database_Dummy : public Database
 {
 public:
-       virtual bool saveBlock(const v3s16 &pos, const std::string &data);
-       virtual std::string loadBlock(const v3s16 &pos);
-       virtual bool deleteBlock(const v3s16 &pos);
-       virtual void listAllLoadableBlocks(std::vector<v3s16> &dst);
+       bool saveBlock(const v3s16 &pos, const std::string &data);
+       void loadBlock(const v3s16 &pos, std::string *block);
+       bool deleteBlock(const v3s16 &pos);
+       void listAllLoadableBlocks(std::vector<v3s16> &dst);
 
 private:
        std::map<s64, std::string> m_database;