[refactor] Initial ICombatant draft

This commit is contained in:
gsemaj
2022-04-11 10:26:57 -04:00
committed by gsemaj
parent 4f890a9c07
commit 2f3f8a3951
12 changed files with 505 additions and 440 deletions

View File

@@ -328,7 +328,7 @@ static void toggleAiCommand(std::string full, std::vector<std::string>& args, CN
continue;
Mob* mob = (Mob*)pair.second;
mob->state = MobState::RETREAT;
mob->state = AIState::RETREAT;
mob->target = nullptr;
mob->nextMovement = getTime();