Fix score getting mangled after new ship

This commit is contained in:
Arne de Bruijn 2022-10-29 20:03:08 +02:00
parent 2dd538eb4d
commit a31519dc08
1 changed files with 2 additions and 1 deletions

View File

@ -691,7 +691,8 @@ void init_player_stats_new_ship(const playernum_t pnum)
? MAX_OMEGA_CHARGE
: 0;
player_info.Omega_recharge_delay = 0;
player_info.hoard.orbs = 0;
if (game_mode_hoard())
player_info.hoard.orbs = 0;
#endif
player_info.powerup_flags |= map_granted_flags_to_player_flags(GrantedItems);
DXX_MAKE_VAR_UNDEFINED(player_info.cloak_time);