diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-06 01:42:37 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-06 01:42:37 +0300 |
commit | 212f34db82c0a3ce5ee6dad3c45c3cc3ec9f8890 (patch) | |
tree | 7f3ab1029d50ba7fdad7c7238bc5096c0df4f490 | |
parent | 5b72b224092eec3d839cd337ad9fbb3c2683a6c6 (diff) | |
download | minetest-212f34db82c0a3ce5ee6dad3c45c3cc3ec9f8890.tar.gz minetest-212f34db82c0a3ce5ee6dad3c45c3cc3ec9f8890.tar.bz2 minetest-212f34db82c0a3ce5ee6dad3c45c3cc3ec9f8890.zip |
fixed the bug of disabled removal of empty chests
-rw-r--r-- | src/main.cpp | 6 | ||||
-rw-r--r-- | src/nodemetadata.cpp | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7ec542533..b5247b907 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -113,6 +113,10 @@ Gaming ideas: - Random NPC traders. what else?
+Game content:
+-------------
+- Glass blocks
+
Documentation:
--------------
@@ -163,6 +167,8 @@ TODO: Flowing water animation SUGG: Draw cubes in inventory directly with 3D drawing commands, so that
animating them is easier.
+SUGG: Option for enabling proper alpha channel for textures
+
Configuration:
--------------
diff --git a/src/nodemetadata.cpp b/src/nodemetadata.cpp index 8b21856de..be21622d3 100644 --- a/src/nodemetadata.cpp +++ b/src/nodemetadata.cpp @@ -172,10 +172,10 @@ bool ChestNodeMetadata::nodeRemovalDisabled() */ InventoryList *list = m_inventory->getList("0"); if(list == NULL) - return true; + return false; if(list->getUsedSlots() == 0) - return true; - return false; + return false; + return true; } /* |