We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd1f49 commit f23649bCopy full SHA for f23649b
src/Ext/Building/Body.cpp
@@ -376,6 +376,7 @@ void BuildingExt::KickOutStuckUnits(BuildingClass* pThis)
376
const auto pType = pThis->Type;
377
const short start = static_cast<short>(pThis->Location.X / Unsorted::LeptonsPerCell + pType->GetFoundationWidth() - 2); // door
378
const short end = cell.X; // exit
379
+ cell.X = start;
380
auto pCell = MapClass::Instance.GetCellAt(cell);
381
382
while (true)
0 commit comments