newdungeon.py is now make_dungeon.py.
[open-adventure.git] / cheat.c
diff --git a/cheat.c b/cheat.c
index fecfdc260e9e7054bf0194a410a97bf2f7a6caf4..858a916713ca3732566b72449edcbc77dc822084 100644 (file)
--- a/cheat.c
+++ b/cheat.c
@@ -5,7 +5,6 @@
 #include <stdbool.h>
 #include <time.h>
 #include "advent.h"
-#include "database.h"
 #include "linenoise/linenoise.h"
 #include "newdb.h"
 
@@ -81,7 +80,7 @@ int main(int argc, char *argv[])
     /*  Initialize game variables */
     initialise();
 
-    game.zzword = rndvoc(3, 0);
+    make_zzword(game.zzword);
     game.newloc = LOC_START;
     game.loc = LOC_START;
     game.limit = GAMELIMIT;