Skip to content

Commit

Permalink
initialize all reproducte_type members to null_id
Browse files Browse the repository at this point in the history
  • Loading branch information
mqrause committed Sep 12, 2024
1 parent 57833c9 commit 0d57eb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ struct mount_item_data {
};

struct reproduction_type {
mtype_id baby_monster;
mongroup_id baby_monster_group;
itype_id baby_egg;
item_group_id baby_egg_group;
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

0 comments on commit 0d57eb0

Please sign in to comment.