Fix mistakes in samples/monster.c
@@ -86,9 +86,6 @@ int create_monster_bottom_up(flatcc_builder_t *B, int flexible)
//
// Note that the Equipment union only take up one argument in C, where
// C++ takes a type and an object argument.
- //
- // Also note that unlike C++ we do not use `&pos` because `pos`
- // is already a reference type.
ns(Monster_create_as_root(B, &pos, mana, hp, name, inventory, ns(Color_Red),
weapons, equipped));
@@ -182,7 +179,6 @@ int create_monster_top_down(flatcc_builder_t *B)
ns(Weapon_damage_add(B, 3));
ns(Monster_weapons_push_end(B));
ns(Monster_weapons_push_start(B));
- ns(Monster_weapons_push_start(B));
ns(Weapon_name_create_str(B, "Axe"));
ns(Weapon_damage_add(B, 5));
axe = *ns(Monster_weapons_push_end(B));
