X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=init.c;h=b84f5fcf9b14cf97144787d48712ba50da50ae19;hp=202bf65759835fb082158e935842acf6a08aee2f;hb=ff9c73a37d898d824aa9f8ecd4b670acd84d37e7;hpb=195e6e149b401cd8d27f406834c7f54a8cca4909 diff --git a/init.c b/init.c index 202bf65..b84f5fc 100644 --- a/init.c +++ b/init.c @@ -21,17 +21,17 @@ struct settings_t settings = { }; struct game_t game = { - .dloc[1] = LOC_KINGHALL, - .dloc[2] = LOC_WESTBANK, - .dloc[3] = LOC_Y2, - .dloc[4] = LOC_ALIKE3, - .dloc[5] = LOC_COMPLEX, + .dwarves[1].loc = LOC_KINGHALL, + .dwarves[2].loc = LOC_WESTBANK, + .dwarves[3].loc = LOC_Y2, + .dwarves[4].loc = LOC_ALIKE3, + .dwarves[5].loc = LOC_COMPLEX, /* Sixth dwarf is special (the pirate). He always starts at his * chest's eventual location inside the maze. This loc is saved * in chloc for ref. The dead end in the other maze has its * loc stored in chloc2. */ - .dloc[6] = LOC_MAZEEND12, + .dwarves[6].loc = LOC_MAZEEND12, .chloc = LOC_MAZEEND12, .chloc2 = LOC_DEADEND13, .abbnum = 5,