Browsing https://github.com/OpenSourcedGames/Her ... /P_INTER.C, I found this:
Code: Select all
if(!player->backpack)
{
for(i = 0; i < NUMAMMO; i++)
{
player->maxammo[i] *= 2;
}
player->backpack = true;
}
P_GiveAmmo(player, am_goldwand, AMMO_GWND_WIMPY);
P_GiveAmmo(player, am_blaster, AMMO_BLSR_WIMPY);
P_GiveAmmo(player, am_crossbow, AMMO_CBOW_WIMPY);
P_GiveAmmo(player, am_skullrod, AMMO_SKRD_WIMPY);
P_GiveAmmo(player, am_phoenixrod, AMMO_PHRD_WIMPY);
P_SetMessage(player, TXT_ITEMBAGOFHOLDING, false);
break;