Skip to content

Commit f23649b

Browse files
committed
Fix a typo in 73c2208
1 parent 0fd1f49 commit f23649b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Ext/Building/Body.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ void BuildingExt::KickOutStuckUnits(BuildingClass* pThis)
376376
const auto pType = pThis->Type;
377377
const short start = static_cast<short>(pThis->Location.X / Unsorted::LeptonsPerCell + pType->GetFoundationWidth() - 2); // door
378378
const short end = cell.X; // exit
379+
cell.X = start;
379380
auto pCell = MapClass::Instance.GetCellAt(cell);
380381

381382
while (true)

0 commit comments

Comments
 (0)