X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=newdb.c;h=0661543ab2ad02619ae3d404cda58dfa9df96150;hb=0e9e45f1b703f858d19a99f33ef8761c559c6dc4;hp=240e21e7e7b492ab3a29f63500e0a5fe76d86648;hpb=43032763cdb923c2b8328933acfe6efeaced3bbd;p=open-adventure.git diff --git a/newdb.c b/newdb.c index 240e21e..0661543 100644 --- a/newdb.c +++ b/newdb.c @@ -526,13 +526,11 @@ object_description_s object_descriptions[] = { }, { .inventory = "Water in the bottle", - .longs = (char* []) { - }, + .longs = NULL, }, { .inventory = "Oil in the bottle", - .longs = (char* []) { - }, + .longs = NULL, }, { .inventory = "*mirror", @@ -1259,7 +1257,7 @@ char* arbitrary_messages[] = { "You have garnered %d out of a possible %d points, using %d turn%S.", "I can suspend your Adventure for you so that you can resume later, but\nit will cost you 5 points.", "I am prepared to give you a hint, but it will cost you %d point%S.", - "You scored %d out of a possible %d, using%d turn%S.", + "You scored %d out of a possible %d, using %d turn%S.", "To achieve the next higher rating, you need %d more point%S.", "To achieve the next higher rating would be a neat trick!\nCongratulations!!", "You just went off my scale!!", @@ -1298,3 +1296,5 @@ char* turn_threshold_messages[] = { "Are you still at it? Five points off for exceeding 1000 turns!", "Good grief, don\'t you *EVER* give up? Do you realize you\'ve spent\nover 2500 turns at this? That\'s another ten points off, a total of\ntwenty points lost for taking so long.", }; + +size_t CLSSES = sizeof(class_messages) / sizeof(class_messages[0]);