diff --git a/src/collectable.cpp b/src/collectable.cpp index 38e7ca7..64337ef 100644 --- a/src/collectable.cpp +++ b/src/collectable.cpp @@ -279,7 +279,8 @@ void doCollectables() break; case P_ROCKET: - limitCharAdd(&player.ammo[1], collectable->value, 0, currentGame.maxRocketAmmo); + limitCharAdd(&player.ammo[1], collectable->value, 0, + currentGame.maxRocketAmmo); if (player.ammo[1] == currentGame.maxRocketAmmo) sprintf(temp, "Rocket Ammo at Maximum"); else diff --git a/src/shop.cpp b/src/shop.cpp index ca94146..99be3d2 100644 --- a/src/shop.cpp +++ b/src/shop.cpp @@ -478,14 +478,14 @@ static void buy(int i) if (player.weaponType[1] == W_DOUBLE_ROCKETS) {shopSelectedItem = -8; return;} player.weaponType[1] = W_DOUBLE_ROCKETS; - limitChar(¤tGame.maxRocketAmmo, 10, 50); + limitChar(¤tGame.maxRocketAmmo, 5, 50); shopSelectedItem = -1; break; case 11: if (player.weaponType[1] == W_MICRO_ROCKETS) {shopSelectedItem = -8; return;} player.weaponType[1] = W_MICRO_ROCKETS; - limitChar(¤tGame.maxRocketAmmo, 10, 50); + limitChar(¤tGame.maxRocketAmmo, 5, 50); shopSelectedItem = -1; break; case 12: