Skip to content

Commit bc3aad3

Browse files
committed
tweak error message
For better debugging.
1 parent af4ec4f commit bc3aad3

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)