1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Remove confusing code block from SQLite3 database

This commit is contained in:
ShadowNinja 2014-06-23 15:27:54 -04:00
parent d9de29fa50
commit 50127510e7

View File

@ -86,14 +86,11 @@ void Database_SQLite3::verifyDatabase() {
if(m_database)
return;
{
std::string dbp = m_savedir + DIR_DELIM + "map.sqlite";
std::string dbp = m_savedir + DIR_DELIM "map.sqlite";
bool needs_create = false;
int d;
/*
Open the database connection
*/
// Open the database connection
createDirs(m_savedir); // ?
@ -137,7 +134,6 @@ void Database_SQLite3::verifyDatabase() {
}
infostream<<"ServerMap: SQLite3 database opened"<<std::endl;
}
}
void Database_SQLite3::saveBlock(MapBlock *block)