If picking up one missile out of a four-pack, use singular description instead of plural

This commit is contained in:
zicodxx 2010-06-17 09:45:05 +00:00
parent 5cff370262
commit e1572135a2
2 changed files with 19 additions and 15 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20100617
--------
main/weapons.c: If picking up one missile out of a four-pack, use singular description instead of plural
20100615
--------
main/game.c, main/gameseq.c: Resetting GameTime, Next/Last_flare/laser/missile_time in reset_time() together so GameTime-rollover-fallbacks will not create a massive delay when starting a new level

View file

@ -411,7 +411,7 @@ int pick_up_secondary(int weapon_index,int count)
select_weapon(weapon_index,1, 0, 1);
}
if (count>1) {
if (num_picked_up>1) {
PALETTE_FLASH_ADD(15,15,15);
hud_message(MSGC_PICKUP_OK, "%d %s%s",num_picked_up,SECONDARY_WEAPON_NAMES(weapon_index), TXT_SX);
}