We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72056df commit 64be31dCopy full SHA for 64be31d
1 file changed
qtfred/src/mission/Editor.cpp
@@ -1077,7 +1077,7 @@ int Editor::common_object_delete(int obj) {
1077
return 1;
1078
}
1079
1080
- Assert((i >= 0) && (i < MAX_SHIPS));
+ Assertion((i >= 0) && (i < MAX_SHIPS), "Invalid ship index %d in player-start delete path", i); // NOLINT(readability-simplify-boolean-expr)
1081
sprintf(msg, "Player %d", i + 1);
1082
name = msg;
1083
r = reference_handler(name, sexp_ref_type::PLAYER, obj);
0 commit comments