Explorar el Código

block items can now be placed again

Kolja Strohm hace 2 años
padre
commit
6a8ddf48d6
Se han modificado 1 ficheros con 1 adiciones y 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;
 }