aboutsummaryrefslogtreecommitdiff
path: root/src/database-dummy.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-01-16 20:59:59 +1000
committerCraig Robbins <kde.psych@gmail.com>2015-01-16 21:00:11 +1000
commite5b636712c6d93d54f850e472abcfe8f0e7527a0 (patch)
tree605d828bf11801ebaba4c218c74bb994b39ad577 /src/database-dummy.cpp
parent46821f11566efa1da2ba74c9e95794d9e50d6812 (diff)
downloadminetest-e5b636712c6d93d54f850e472abcfe8f0e7527a0.tar.gz
minetest-e5b636712c6d93d54f850e472abcfe8f0e7527a0.tar.bz2
minetest-e5b636712c6d93d54f850e472abcfe8f0e7527a0.zip
Fix missing return in Database_Dummy::deleteBlock
Diffstat (limited to 'src/database-dummy.cpp')
-rw-r--r--src/database-dummy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database-dummy.cpp b/src/database-dummy.cpp
index 62483c81b..271d9c975 100644
--- a/src/database-dummy.cpp
+++ b/src/database-dummy.cpp
@@ -62,6 +62,7 @@ std::string Database_Dummy::loadBlock(v3s16 blockpos)
bool Database_Dummy::deleteBlock(v3s16 blockpos)
{
m_database.erase(getBlockAsInteger(blockpos));
+ return true;
}
void Database_Dummy::listAllLoadableBlocks(std::list<v3s16> &dst)