Cut initialize in favor of implicit/default initialization where possible
[open-adventure.git] / cheat.c
diff --git a/cheat.c b/cheat.c
index d1e45e00a418675a1c50087c7b63d6de24c98a30..55b0c46d32901394677932d10717639e37b489ac 100644 (file)
--- a/cheat.c
+++ b/cheat.c
@@ -7,7 +7,20 @@
 #include "linenoise/linenoise.h"
 #include "dungeon.h"
 
-struct game_t game;
+struct game_t game = {
+    .chloc = LOC_DEADEND12,
+    .chloc2 = LOC_DEADEND13,
+    .dloc[1] = LOC_KINGHALL,
+    .dloc[2] = LOC_WESTBANK,
+    .dloc[3] = LOC_Y2,
+    .dloc[4] = LOC_ALIKE3,
+    .dloc[5] = LOC_COMPLEX,
+    .dloc[6] = LOC_DEADEND12,
+    .abbnum = 5,
+    .clock1 = WARNTIME,
+    .clock2 = FLASHTIME,
+    .blklin = true
+};
 
 FILE  *logfp = NULL, *rfp = NULL;
 bool oldstyle = false;