Implement target-tile selection and Shift-queueing for all unit actions

This commit is contained in:
2026-11-09 22:13:49 +01:00
parent 882c83ba13
commit 8eda9a2532
8 changed files with 1157 additions and 693 deletions
+1
View File
@@ -127,6 +127,7 @@ void ActionNeededManager::update(float deltaTime, int activePlayerId,
bool isIdle = (u->state == UnitState::Idle)
&& (u->path.empty() || u->pathIndex >= u->path.size())
&& !u->currentAction.isValid()
&& !u->hasQueuedAction()
&& !u->hasRoadRoute()
&& !u->isBuilding();