X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=newdb.c;h=0661543ab2ad02619ae3d404cda58dfa9df96150;hb=0e9e45f1b703f858d19a99f33ef8761c559c6dc4;hp=05b0eeb1dfa3c6e5329c1a0272505740a9fe0b4e;hpb=8a18f2f19fe1c8b746d43c21d7ee51ca622554c6;p=open-adventure.git diff --git a/newdb.c b/newdb.c index 05b0eeb..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", @@ -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]);