Finish newdb -> dungeon renaming.
[open-adventure.git] / saveresume.c
index f4c694fddb66a5feca64cd9d6eaab2570699139c..f13e3f366d40c04f4ee909799d9470683355dc82 100644 (file)
@@ -2,8 +2,7 @@
 #include <string.h>
 
 #include "advent.h"
-#include "database.h"
-#include "newdb.h"
+#include "dungeon.h"
 #include "linenoise/linenoise.h"
 
 /*
@@ -119,7 +118,8 @@ int restore(FILE* fp)
         rspeak(VERSION_SKEW, save.version / 10, MOD(save.version, 10), VRSION / 10, MOD(VRSION, 10));
     } else {
         memcpy(&game, &save.game, sizeof(struct game_t));
-        game.zzword = rndvoc(3, game.zzword);
+        //game.zzword = rndvoc(3, game.zzword);
+       make_zzword(game.zzword);
     }
     return GO_TOP;
 }