summaryrefslogtreecommitdiff
path: root/src/gui/shop.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-12-25 11:18:51 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-12-25 11:18:51 +0000
commit962aae8bbd272d60d2a6fa0d8da50b0cb4e7c6a9 (patch)
tree0abc58dce86353ee7748ac594988ecadb2dc8206 /src/gui/shop.cpp
parentb9ad39c8de89ef780f396fbeaf7fe81686484f9b (diff)
downloadmana-962aae8bbd272d60d2a6fa0d8da50b0cb4e7c6a9.tar.gz
mana-962aae8bbd272d60d2a6fa0d8da50b0cb4e7c6a9.tar.bz2
mana-962aae8bbd272d60d2a6fa0d8da50b0cb4e7c6a9.tar.xz
mana-962aae8bbd272d60d2a6fa0d8da50b0cb4e7c6a9.zip
Xmas quest update
Diffstat (limited to 'src/gui/shop.cpp')
-rw-r--r--src/gui/shop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp
index 25aac085..0220ad67 100644
--- a/src/gui/shop.cpp
+++ b/src/gui/shop.cpp
@@ -28,8 +28,8 @@ char* selectedItem = "You got 4";
ITEM_SHOP *shop = NULL;
char *item_db[] = {
- "Cactus Drink", "Cactus potion", "Casino coins", "Royal Jam", "Faerie Walnut",
- "Cup of wishes", "Magic rope", "Midge mallet", "Flammie drum", "Moogle belt"
+ "Cactus Drink", "Cactus potion", "Casino coins", "Decor Candy", "Maggot Slime",
+ "Candy Cane", "Scorpion Stinger", "Xmas Cake", "Chocolate", "Candy", "Santa Hat"
};
char *shop_list(int index, int *list_size) {
@@ -49,7 +49,7 @@ char *shop_list(int index, int *list_size) {
void add_buy_item(short id, int price) {
ITEM_SHOP *item_shop = (ITEM_SHOP *)malloc(sizeof(ITEM_SHOP));
- if(id-501>=0 && id-501<=2)
+ if(id-501>=0 && id-501<=11)
sprintf(item_shop->name, "%s %i gp", item_db[id-501], price);
else
sprintf(item_shop->name, "Unknown item %i gp", price);