[BACK]Return to object.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / larn

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/games/larn/object.c between version 1.16 and 1.17

version 1.16, 2012/06/19 05:30:43 version 1.17, 2019/02/03 03:19:25
Line 148  lookforobject(void)
Line 148  lookforobject(void)
                 item[playerx][playery] = OTELEPORTER;                  item[playerx][playery] = OTELEPORTER;
                 know[playerx][playery] = 1;                  know[playerx][playery] = 1;
   
                   /* FALLTHROUGH */
         case OTELEPORTER:          case OTELEPORTER:
                 lprcat("\nZaaaappp!  You've been teleported!\n");                  lprcat("\nZaaaappp!  You've been teleported!\n");
                 beep();                  beep();
Line 404  lookforobject(void)
Line 405  lookforobject(void)
                 item[playerx][playery] = OTRAPARROW;                  item[playerx][playery] = OTRAPARROW;
                 know[playerx][playery] = 0;                  know[playerx][playery] = 0;
   
                   /* FALLTHROUGH */
         case OTRAPARROW:          case OTRAPARROW:
                 lprcat("\nYou are hit by an arrow");                  lprcat("\nYou are hit by an arrow");
                 beep();         /* for an arrow trap */                  beep();         /* for an arrow trap */
Line 418  lookforobject(void)
Line 420  lookforobject(void)
                 item[playerx][playery] = ODARTRAP;                  item[playerx][playery] = ODARTRAP;
                 know[playerx][playery] = 0;                  know[playerx][playery] = 0;
   
                   /* FALLTHROUGH */
         case ODARTRAP:          case ODARTRAP:
                 lprcat("\nYou are hit by a dart");                  lprcat("\nYou are hit by a dart");
                 beep();         /* for a dart trap */                  beep();         /* for a dart trap */
Line 434  lookforobject(void)
Line 437  lookforobject(void)
                 item[playerx][playery] = OTRAPDOOR;                  item[playerx][playery] = OTRAPDOOR;
                 know[playerx][playery] = 1;                  know[playerx][playery] = 1;
   
                   /* FALLTHROUGH */
         case OTRAPDOOR:          case OTRAPDOOR:
                 lastnum = 272;  /* a trap door */                  lastnum = 272;  /* a trap door */
                 if ((level == MAXLEVEL - 1) || (level == MAXLEVEL + MAXVLEVEL - 1)) {                  if ((level == MAXLEVEL - 1) || (level == MAXLEVEL + MAXVLEVEL - 1)) {

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>