From 804805d35a87c2acc9425d1762ad26b1ba2ec9ac Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Wed, 29 Jul 2015 09:04:03 -0600 Subject: Silenced and fixed many warning messages across multiple files. --- src/Items/ItemSlab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Items/ItemSlab.h') diff --git a/src/Items/ItemSlab.h b/src/Items/ItemSlab.h index 3a78cc016..21b53081a 100644 --- a/src/Items/ItemSlab.h +++ b/src/Items/ItemSlab.h @@ -40,7 +40,7 @@ public: ) override { // Prepare sound effect - AString PlaceSound = cBlockInfo::GetPlaceSound(m_ItemType); + AString PlaceSound = cBlockInfo::GetPlaceSound(static_cast(m_ItemType)); float Volume = 1.0f, Pitch = 0.8f; // Special slab handling - placing a slab onto another slab produces a dblslab instead: -- cgit v1.2.3