Browse Source

block items can now be placed again

Kolja Strohm 2 năm trước cách đây
mục cha
commit
6a8ddf48d6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      FactoryCraft/Block.cpp

+ 1 - 1
FactoryCraft/Block.cpp

@@ -290,7 +290,7 @@ BasicBlockItem::BasicBlockItem(
     int itemTypeId, int blockTypeId, const char* name)
     : Item(itemTypeId, name)
 {
-    blockTypeId = blockTypeId;
+    this->blockTypeId = blockTypeId;
     placeable = 1;
 }