[comp.sources.games.bugs] Omega 2: Small bug in help function

yee@ames.arc.nasa.gov (Peter E. Yee) (08/08/88)

The following patch will correct the input for which help section to see.
As distributed, it would allow you type in garbage, which results in the
game aborting.
							-Peter Yee
							yee@ames.arc.nasa.gov
							ames!yee
==============================================================================

*** ocom3.c	Mon Aug  8 09:33:03 1988
--- ocom3.c.old	Mon Aug  8 09:29:22 1988
***************
*** 144,150 ****
    menuprint("ESCAPE: Forget the whole thing.");
    do 
      c = mcigetc();
!   while (((c < 'a') || (c > 'n')) && (c != ESCAPE));
    if (c == 'n') {
      print1("Trying to copy all help files to ./omega.doc ");
      nprint1("Confirm [yn]");
--- 144,150 ----
    menuprint("ESCAPE: Forget the whole thing.");
    do 
      c = mcigetc();
!   while ((c < 'a') && (c > 'n') && (c != ESCAPE));
    if (c == 'n') {
      print1("Trying to copy all help files to ./omega.doc ");
      nprint1("Confirm [yn]");