From 60800655c8cc152f3b44103163307a992f1d64cd Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 5 Oct 2015 21:15:08 +0200 Subject: Generator: Fixed missing hitbox assignment. This had caused village houses to generate too close to each other. --- src/Generating/PrefabPiecePool.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Generating/PrefabPiecePool.cpp') diff --git a/src/Generating/PrefabPiecePool.cpp b/src/Generating/PrefabPiecePool.cpp index e2273aed3..8431500ce 100644 --- a/src/Generating/PrefabPiecePool.cpp +++ b/src/Generating/PrefabPiecePool.cpp @@ -287,6 +287,7 @@ bool cPrefabPiecePool::LoadCubesetPieceVer1(const AString & a_FileName, cLuaStat { return false; } + prefab->SetHitBox(Hitbox); // Read the connectors if (!ReadConnectorsCubesetVer1(a_FileName, a_LuaState, PieceName, prefab.get(), a_LogWarnings)) -- cgit v1.2.3