Explorar o código

block items can now be placed again

Kolja Strohm %!s(int64=2) %!d(string=hai) anos
pai
achega
6a8ddf48d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }