X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=cheat.c;h=d9da4057f8b0a41eb2ab49e6cfeddb64add7ebfb;hb=da27ae1932d1311887ad3a677b10b87610e31854;hp=fecfdc260e9e7054bf0194a410a97bf2f7a6caf4;hpb=0a30176a8c60832e140991c177e8924c7a9ad6d5;p=open-adventure.git diff --git a/cheat.c b/cheat.c index fecfdc2..d9da405 100644 --- a/cheat.c +++ b/cheat.c @@ -5,9 +5,8 @@ #include #include #include "advent.h" -#include "database.h" #include "linenoise/linenoise.h" -#include "newdb.h" +#include "dungeon.h" struct game_t game; @@ -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;