X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.c;h=0ae5598fda18feb55d90af6e39fc5e25ce446751;hp=62ffe2547293718d4abf7dfdd80c7aa0d822c98e;hb=0def1139fe1c02cd25c21fe26c9a9722debf4211;hpb=f9acc563cce04f40f3d622f34ce5fd6263bfc619 diff --git a/src/sst.c b/src/sst.c index 62ffe25..0ae5598 100644 --- a/src/sst.c +++ b/src/sst.c @@ -291,6 +291,10 @@ commands[] = { {"HELP", HELP, 0}, #define SEED 37 {"SEED", SEED, 0}, +#if BSD_BUG_FOR_BUG +#define VISUAL 38 + {"VISUAL", VISUAL, 0}, +#endif }; #define NUMCOMMANDS sizeof(commands)/sizeof(commands[0]) @@ -468,8 +472,8 @@ static void makemoves(void) case SHIELDS: // shields doshield(false); if (game.ididit) { - hitme=true; - game.shldchg = 0; + hitme = true; + game.shldchg = false; } break; case DOCK: // dock @@ -572,6 +576,11 @@ static void makemoves(void) if (key == IHREAL) seed = (int)aaitem; break; +#if BSD_BUG_FOR_BUG + case VISUAL: + visual(); // perform visual scan + break; +#endif } commandhook(commands[i].name, false); for (;;) {