Skip to content

Commit 2966757

Browse files
authored
Merge pull request #5668 from Goober5000/better_message
tweak error message
2 parents c5d1925 + bc3aad3 commit 2966757

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
@@ -2019,7 +2019,7 @@ ai_achievability ai_mission_goal_achievable( int objnum, ai_goal *aigp )
20192019
// short circuit a couple of cases. Ship not arrived shouldn't happen. Ship gone means
20202020
// we mark the goal as not achievable.
20212021
if ( status == SHIP_STATUS_NOT_ARRIVED ) {
2022-
UNREACHABLE("Ship %s cannot rearm a ship that hasn't arrived; get Allender or a SCP member", Ships[objp->instance].ship_name); // get Allender. this shouldn't happen!!!
2022+
UNREACHABLE("Ship %s cannot rearm a target %s that hasn't arrived; get Allender or a SCP member", Ships[objp->instance].ship_name, aigp->target_name); // get Allender. this shouldn't happen!!!
20232023
return ai_achievability::NOT_ACHIEVABLE;
20242024
}
20252025

0 commit comments

Comments
 (0)