Skip to content

Commit

Permalink
wild stab at fixing attack-move for LAN multiplayer (RA)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChthonVII committed Dec 2, 2020
1 parent 4477633 commit dfe1b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion REDALERT/TECHNO.CPP
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@ void TechnoClass::AI(void)
assert(IsActive);

// Attack Move rework by ChthonVII
if (AttackMove && Is_Owned_By_Player() && (What_Am_I() == RTTI_UNIT || What_Am_I() == RTTI_INFANTRY || What_Am_I() == RTTI_AIRCRAFT || What_Am_I() == RTTI_VESSEL)) {
if (AttackMove /*&& Is_Owned_By_Player()*/ && (What_Am_I() == RTTI_UNIT || What_Am_I() == RTTI_INFANTRY || What_Am_I() == RTTI_AIRCRAFT || What_Am_I() == RTTI_VESSEL)) {

// special control for boats
// after shooting for awhile, force a return to moving and don't let them shoot again for awhile
Expand Down

0 comments on commit dfe1b55

Please sign in to comment.