Skip to content

Commit 542dc68

Browse files
author
Goober5000
committed
add to Ship_flag_names array
1 parent b1ac087 commit 542dc68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

code/ship/ship.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ ship_flag_name Ship_flag_names[] = {
388388
{SF2_NO_ETS, "no-ets", 2, },
389389
{SF2_TOGGLE_SUBSYSTEM_SCANNING, "toggle-subsystem-scanning", 2, },
390390
{SF2_NO_SECONDARY_LOCKON, "no-secondary-lock-on", 2, },
391+
{SF2_NO_DISABLED_SELF_DESTRUCT, "no-disabled-self-destruct", 2, },
391392
};
392393

393394
const int num_ai_tgt_weapon_flags = sizeof(ai_tgt_weapon_flags) / sizeof(flag_def_list);

code/ship/ship.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ typedef struct ship_flag_name {
426426
int flag_list; // is this flag in the 1st or 2nd ship flags list?
427427
} ship_flag_name;
428428

429-
#define MAX_SHIP_FLAG_NAMES 18
429+
#define MAX_SHIP_FLAG_NAMES 19
430430
extern ship_flag_name Ship_flag_names[];
431431

432432
// states for the flags variable within the ship structure

0 commit comments

Comments
 (0)