]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/map.h
Don't start a server for map migration
[dragonfireclient.git] / src / map.h
index 073f9314dba3abeeb96c9c6bf20fb3b5b9c382c4..a4fd8406b1d52420305899c5dc7a71170a8c25d9 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "util/container.h"
 #include "nodetimer.h"
 
+class Settings;
 class Database;
 class ClientMap;
 class MapSector;
@@ -445,6 +446,7 @@ class ServerMap : public Map
        /*
                Database functions
        */
+       static Database *createDatabase(const std::string &name, const std::string &savedir, Settings &conf);
        // Verify we can read/write to the database
        void verifyDatabase();