summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/SimplePlaceableItemHandler.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Items/SimplePlaceableItemHandler.h b/src/Items/SimplePlaceableItemHandler.h
index 3908bc1f3..4400b9d0e 100644
--- a/src/Items/SimplePlaceableItemHandler.h
+++ b/src/Items/SimplePlaceableItemHandler.h
@@ -1,18 +1,22 @@
#pragma once
-
#include "ItemHandler.h"
+
+
+
+
class cSimplePlaceableItemHandler :
public cItemHandler
{
using Super = cItemHandler;
public:
+
cSimplePlaceableItemHandler(int a_ItemType, BLOCKTYPE a_BlockType) :
- Super(a_ItemType)
+ Super(a_ItemType),
+ m_BlockType(a_BlockType)
{
- m_BlockType = a_BlockType;
}
@@ -32,6 +36,7 @@ public:
return true;
}
-protected:
+private:
+
BLOCKTYPE m_BlockType;
};