Update belt drag L-path immediately on rotate
This commit is contained in:
@@ -2531,6 +2531,9 @@ void GameWorldView::rotateGhost(bool clockwise)
|
||||
m_ghostRotation = clockwise ? rotateClockwise(m_ghostRotation)
|
||||
: rotateCounterClockwise(m_ghostRotation);
|
||||
m_ghostValid = isValidPlacement(*m_builderType, m_ghostTile, m_ghostRotation);
|
||||
// Rotating during a belt drag re-picks the path's primary axis immediately,
|
||||
// without waiting for the next mouse move (REQ-BLD-BELT-DRAG).
|
||||
if (m_dragging) { recomputeBeltDragPath(m_ghostTile); }
|
||||
}
|
||||
else if (m_blueprintMode.has_value())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user