Skip to content

Commit

Permalink
Merge pull request #76363 from mqrause/gcc9_fix
Browse files Browse the repository at this point in the history
Fix GCC9 compilation error
  • Loading branch information
kevingranade authored Sep 12, 2024
2 parents 1b831d8 + 0d57eb0 commit 2473620
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/mtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,11 @@ struct mount_item_data {
itype_id storage;
};

struct baby_type {
mtype_id baby_monster;
mongroup_id baby_monster_group;
itype_id baby_egg;
item_group_id baby_egg_group;
struct reproduction_type {
mtype_id baby_monster = mtype_id::NULL_ID();
mongroup_id baby_monster_group = mongroup_id::NULL_ID();
itype_id baby_egg = itype_id::NULL_ID();
item_group_id baby_egg_group = item_group_id::NULL_ID();
};

struct mtype {
Expand Down Expand Up @@ -317,7 +317,7 @@ struct mtype {
mtype_id zombify_into; // mtype_id this monster zombifies into
mtype_id fungalize_into; // mtype_id this monster fungalize into

baby_type baby_type;
reproduction_type baby_type;

// Monster biosignature variables
itype_id biosig_item;
Expand Down

0 comments on commit 2473620

Please sign in to comment.