Skip to content

Commit 47bd990

Browse files
committed
Handle ships removed from play via ship-vanish correctly in ai goal processing.
1 parent ec3313f commit 47bd990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/ai/aigoals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ int ai_mission_goal_achievable( int objnum, ai_goal *aigp )
16401640
}
16411641
else
16421642
{
1643-
Int3(); // get ALLENDER
1643+
mprintf(("Potentially incorrect behaviour in AI goal for ship %s: Ship %s could not be found among currently active, departed, or yet-to-arrive ships.\nPlease check the mission file.\n", Ships[objp->instance].ship_name, aigp->target_name));
16441644
status = SHIP_STATUS_UNKNOWN;
16451645
}
16461646
}

0 commit comments

Comments
 (0)