浏览代码

block items can now be placed again

Kolja Strohm 2 年之前
父节点
当前提交
6a8ddf48d6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 }