Skip to content

Commit

Permalink
Fixed loading issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Robosturm committed Dec 22, 2022
1 parent d3ca64e commit ac10698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions game/unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2845,13 +2845,13 @@ void Unit::createMoveVision(QVector<QPoint> & movePath)
void Unit::createMoveVisionAction(GameAction* pAction)
{
auto path = pAction->getMovePath();
createMoveVision(path);
moveUnit(path);
}

void Unit::createMoveVisionFromAction(GameAction* pAction)
{
auto path = pAction->getMovePath();
moveUnit(path);
createMoveVision(path);
}

QVector<QVector3D> Unit::getVisionFields(QPoint position)
Expand Down

0 comments on commit ac10698

Please sign in to comment.