Skip to content

Commit

Permalink
fix #4832
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Nov 22, 2018
1 parent 90be548 commit 4cff1b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/microsim/MSParkingArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ MSParkingArea::computeLastFreePos() {
myLastFreeLot = lsd.index;
myLastFreePos = lsd.myEndPos;
break;
} else {
myLastFreePos = MIN2(myLastFreePos,
lsd.myEndPos - lsd.vehicle->getVehicleType().getLength() - NUMERICAL_EPS);
}
}
}
Expand Down

0 comments on commit 4cff1b7

Please sign in to comment.