[BACK]Return to fight.c CVS log [TXT][DIR] Up to [contributed] / early-roguelike / rogue5

Diff for /early-roguelike/rogue5/fight.c between version 1.1 and 1.2

version 1.1, 2021/03/09 20:01:39 version 1.2, 2021/03/09 20:51:39
Line 84  fight(const coord *mp, const THING *weap, int thrown)
Line 84  fight(const coord *mp, const THING *weap, int thrown)
      */       */
     count = 0;      count = 0;
     quiet = 0;      quiet = 0;
     runto(mp);  
     /*      /*
      * Let him know it was really a xeroc (if it was one).       * Let him know it was really a xeroc (if it was one).
      */       */
Line 131  fight(const coord *mp, const THING *weap, int thrown)
Line 130  fight(const coord *mp, const THING *weap, int thrown)
             bounce(weap, mname, terse);              bounce(weap, mname, terse);
         else          else
             miss(NULL, mname, terse);              miss(NULL, mname, terse);
   
           if ((tp = moat(mp->y, mp->x)) != NULL) //BUGFIX!
                   runto(mp);
     return did_hit;      return did_hit;
 }  }
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb