Skip to content

Commit

Permalink
oops! forgot to save file before last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ChthonVII committed Jun 23, 2021
1 parent d454613 commit 43e1595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file removed REDALERT/.INFANTRY.CPP.kate-swp
Binary file not shown.
3 changes: 2 additions & 1 deletion REDALERT/INFANTRY.CPP
Original file line number Diff line number Diff line change
Expand Up @@ -4091,7 +4091,8 @@ void InfantryClass::Movement_AI(void)
/*
** Scatter infantry off buildings in guard modes.
*/
if (!IsTethered && (Mission == MISSION_GUARD || Mission == MISSION_GUARD_AREA) && MissionQueue == MISSION_NONE && Map[Coord].Cell_Building() != NULL) {
// Chthon CFE Note: bugfix missing IsActive check, as per https://github.com/TheAssemblyArmada/Vanilla-Conquer/pull/430
if (IsActive && !IsTethered && (Mission == MISSION_GUARD || Mission == MISSION_GUARD_AREA) && MissionQueue == MISSION_NONE && Map[Coord].Cell_Building() != NULL) {
Scatter(0, true, true);
}

Expand Down

0 comments on commit 43e1595

Please sign in to comment.