Jettison MAKEWD(), GETTXT(), vocab(), GETIN(), and the old db compiler.
[open-adventure.git] / saveresume.c
index f4c694fddb66a5feca64cd9d6eaab2570699139c..ab47a3bfa56fd84a19c30e01848a7425963fc1a4 100644 (file)
@@ -2,7 +2,6 @@
 #include <string.h>
 
 #include "advent.h"
-#include "database.h"
 #include "newdb.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;
 }