X-Git-Url: https://jxself.org/git/?p=wumpus.git;a=blobdiff_plain;f=superhack.c;h=82d480907a6238a75d50027700f511b8520af4c2;hp=f9879fd8ee10b7afc6af792d4ae53a573b3a3bb1;hb=7c5bbc8a2733b23491f8b33ead72702f8dfece18;hpb=9be728e4b06b5fd96f63f9e1a95404889bb900f9 diff --git a/superhack.c b/superhack.c index f9879fd..82d4809 100644 --- a/superhack.c +++ b/superhack.c @@ -13,6 +13,7 @@ #include #include +#include static int path[5]; static int j, k, scratchloc, pies; @@ -332,7 +333,7 @@ goodmove: PM("Yow! You interrupted the superhack."); move_superhack(); } - else if (scratchloc == loc[STARLET1] || scratchloc == loc[STARLET1]) + else if (scratchloc == loc[STARLET1] || scratchloc == loc[STARLET2]) { PM("You begin to babble at an unimpressed starlet. You lose!"); finished = LOSE;