From: Perttu Ahola Date: Tue, 5 Apr 2011 22:42:37 +0000 (+0300) Subject: fixed the bug of disabled removal of empty chests X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=212f34db82c0a3ce5ee6dad3c45c3cc3ec9f8890;p=zefram%2Fminetest%2Fminetest_engine.git fixed the bug of disabled removal of empty chests --- diff --git a/src/main.cpp b/src/main.cpp index 7ec54253..b5247b90 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 8b21856d..be21622d 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; } /*