Skip to content

Commit f1f27b2

Browse files
authored
Use define
1 parent 911639d commit f1f27b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fred2/sexp_tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3499,7 +3499,7 @@ int sexp_tree::query_default_argument_available(int op, int i)
34993499
return 0;
35003500

35013501
case OPF_ASTEROID_DEBRIS:
3502-
if ((Asteroid_info.size() - 3) > 0) {
3502+
if ((Asteroid_info.size() - NUM_ASTEROID_POFS) > 0) {
35033503
return 1;
35043504
}
35053505
return 0;

0 commit comments

Comments
 (0)