Sell for only half price in original difficulty.

This commit is contained in:
onpon4 2015-06-07 22:51:16 -04:00
parent 9be21cbd3a
commit 5964066969
2 changed files with 7 additions and 2 deletions

View File

@ -32,7 +32,7 @@ static const char *killMessage[10] = {
"That'll teach you!", "That'll teach you!",
"One more for me!", "One more for me!",
"Target destroyed!", "Target destroyed!",
"You aint so tough!", "You ain't so tough!",
"Kicked your ass!", "Kicked your ass!",
"That takes me up to %d", "That takes me up to %d",

View File

@ -1005,7 +1005,12 @@ static void sell(int i)
} }
adjustShopPrices(); adjustShopPrices();
game.cash += shopItems[i].price;
if (game.difficulty == DIFFICULTY_ORIGINAL)
game.cash += shopItems[i].price / 2;
else
game.cash += shopItems[i].price;
saveGame(0); saveGame(0);
} }