Add test for urn actions.
[open-adventure.git] / newdb.c
diff --git a/newdb.c b/newdb.c
index 05b0eeb1dfa3c6e5329c1a0272505740a9fe0b4e..0661543ab2ad02619ae3d404cda58dfa9df96150 100644 (file)
--- 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]);