From 90d793f8f369bf1431d7a915198cd49b98bbe2d7 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 23 Jul 2011 16:55:26 +0300 Subject: extended content-type range --- src/content_inventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content_inventory.cpp') diff --git a/src/content_inventory.cpp b/src/content_inventory.cpp index ac48a6195..78fa6f3d1 100644 --- a/src/content_inventory.cpp +++ b/src/content_inventory.cpp @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., //#include "serverobject.h" #include "content_sao.h" -bool item_material_is_cookable(u8 content) +bool item_material_is_cookable(content_t content) { if(content == CONTENT_TREE) return true; @@ -34,7 +34,7 @@ bool item_material_is_cookable(u8 content) return false; } -InventoryItem* item_material_create_cook_result(u8 content) +InventoryItem* item_material_create_cook_result(content_t content) { if(content == CONTENT_TREE) return new CraftItem("lump_of_coal", 1); -- cgit v1.2.3