{
break;
}
- GivePlayerAmmo(player, ammo_shells, shells);
+ GivePlayerResource(player, RESOURCE_SHELLS, shells);
break;
}
case (ammo_nails):
{
break;
}
- GivePlayerAmmo(player, ammo_nails, bullets);
+ GivePlayerResource(player, RESOURCE_BULLETS, bullets);
break;
}
case (ammo_rockets):
{
break;
}
- GivePlayerAmmo(player, ammo_rockets, rockets);
+ GivePlayerResource(player, RESOURCE_ROCKETS, rockets);
break;
}
case (ammo_cells):
{
break;
}
- GivePlayerAmmo(player, ammo_cells, cells);
+ GivePlayerResource(player, RESOURCE_CELLS, cells);
break;
}
case (ammo_plasma):
{
break;
}
- GivePlayerAmmo(player, ammo_plasma, plasma);
+ GivePlayerResource(player, RESOURCE_PLASMA, plasma);
break;
}
}