Skip to content

Commit

Permalink
moveDef not moveType
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushutchings committed Oct 9, 2023
1 parent 7ec4ec3 commit 05a97e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Sim/Units/CommandAI/MobileCAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ void CMobileCAI::BuggerOff(const float3& pos, float radius)

void CMobileCAI::NonMoving()
{
if (owner->moveType == nullptr)
if (owner->moveDef == nullptr)
return;

if (owner->UsingScriptMoveType())
Expand Down

0 comments on commit 05a97e2

Please sign in to comment.