summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-08-14 00:50:03 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-14 00:50:03 +0200
commitfc72d7fbb64004c05f94b96ddce59ae56f034498 (patch)
treee3228955e3d6fe1d673638890ac7c4558996e188
parentfc571ad46df8f3dcc04745bc55d9ca6e1e82ed87 (diff)
downloadminetest-fc72d7fbb64004c05f94b96ddce59ae56f034498.tar.gz
minetest-fc72d7fbb64004c05f94b96ddce59ae56f034498.tar.bz2
minetest-fc72d7fbb64004c05f94b96ddce59ae56f034498.zip
Fix typos
-rw-r--r--doc/lua_api.txt3
-rw-r--r--src/ban.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 5244ff221..eefcc68a2 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1986,12 +1986,11 @@ Node definition (register_node)
liquid_alternative_flowing = "", -- Flowing version of source liquid
liquid_alternative_source = "", -- Source version of flowing liquid
liquid_viscosity = 0, -- Higher viscosity = slower flow (max. 7)
- liquid_renewable = true, -- Can new liquid source be created by placing
+ liquid_renewable = true, -- Can new liquid source be created by placing two or more sources nearby?
freezemelt = "", -- water for snow/ice, ice/snow for water
leveled = 0, -- Block contain level in param2. value - default level, used for snow. Dont forget use "leveled" type nodebox
liquid_range = 8, -- number of flowing nodes arround source (max. 8)
drowning = 0, -- Player will take this amount of damage if no bubbles are left
- two or more sources nearly?
light_source = 0, -- Amount of light emitted by node
damage_per_second = 0, -- If player is inside node, this damage is caused
node_box = {type="regular"}, -- See "Node boxes"
diff --git a/src/ban.cpp b/src/ban.cpp
index f9d32b605..25d7f4ccb 100644
--- a/src/ban.cpp
+++ b/src/ban.cpp
@@ -88,7 +88,7 @@ void BanManager::save()
if(!fs::safeWriteToFile(m_banfilepath, ss.str())) {
infostream<<"BanManager: failed saving to "<<m_banfilepath<<std::endl;
- throw SerializationError("BanManager::load(): Couldn't write file");
+ throw SerializationError("BanManager::save(): Couldn't write file");
}
m_modified = false;