X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sst.c;h=ee80b3fc878ba45048deeea559f9aae42f81b366;hb=bed74efa98d15a3f6497c9cc721785c6e7387c07;hp=77fbeb826ba2b4f273df612835c408f13be1827b;hpb=998ff9c48426dd89c25b56ab59a0c8e2b6986355;p=super-star-trek.git diff --git a/sst.c b/sst.c index 77fbeb8..ee80b3f 100644 --- a/sst.c +++ b/sst.c @@ -190,6 +190,7 @@ static void makemoves(void) { } else prout("UNRECOGNIZED COMMAND."); } + commandhook(commands[i], TRUE); switch (i) { /* command switch */ case 0: // srscan srscan(1); @@ -314,6 +315,7 @@ static void makemoves(void) { helpme(); // get help break; } + commandhook(commands[i], FALSE); for (;;) { if (alldone) break; // Game has ended #ifdef DEBUG