From: Christian Heller Date: Tue, 2 Jul 2013 01:42:42 +0000 (+0200) Subject: Grew number of monsters / items. X-Git-Tag: tce~1177 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/balance?a=commitdiff_plain;h=bcc3d39d6871e1ef97c2f439d941ae2b9009ff98;p=plomrogue Grew number of monsters / items. --- diff --git a/src/roguelike.c b/src/roguelike.c index 04da8a6..0a5702f 100644 --- a/src/roguelike.c +++ b/src/roguelike.c @@ -207,7 +207,7 @@ int main (int argc, char *argv[]) { char i; struct Monster * monster = malloc(sizeof(struct Monster)); world.monster = monster; - for (i = 0; i < 2; i++) { + for (i = 0; i < 8; i++) { monster->name = 'M'; monster->next = malloc(sizeof(struct Monster)); monster = monster->next; } @@ -215,7 +215,7 @@ int main (int argc, char *argv[]) { monster->next = 0; struct Item * item = malloc(sizeof(struct Item)); world.item = item; - for (i = 0; i < 2; i++) { + for (i = 0; i < 8; i++) { item->name = '#'; item->next = malloc(sizeof(struct Item)); item = item->next; }