Difference for server/move.c from version 1.17 to 1.18


version 1.17 version 1.18
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_move_c =   * static char *rcsid_move_c =
  *    "$Id: move.c,v 1.17 2001/11/27 04:33:46 michtoen Exp $";   *    "$Id: move.c,v 1.18 2001/11/28 04:44:42 michtoen Exp $";
  */   */
   
 /*  /*
Line 349
 
Line 349
     return 1;      return 1;
 }  }
   
 /* returns 0 if a monster was pushed and 1 if not - however */  /* returns 1 if pushing invokes a attack, 0 when not */
 int push_ob(object *who, int dir, object *pusher) {  int push_ob(object *who, int dir, object *pusher) {
   int str1, str2;    int str1, str2;
   object *owner;    object *owner;
Line 390
 
Line 390
       {        {
           new_draw_info_format(NDI_UNIQUE, 0, pusher,            new_draw_info_format(NDI_UNIQUE, 0, pusher,
               "You start to attack %s !!",who->name);                "You start to attack %s !!",who->name);
 //          CLEAR_FLAG(who,FLAG_UNAGGRESSIVE); /* the sucker don't like you anymore */            CLEAR_FLAG(who,FLAG_UNAGGRESSIVE); /* the sucker don't like you anymore */
           who->enemy = pusher;            who->enemy = pusher;
             return 1;
       }        }
       else         else
       {        {
Line 405
 
Line 406
   {    {
       new_draw_info_format(NDI_UNIQUE, 0, pusher,        new_draw_info_format(NDI_UNIQUE, 0, pusher,
           "You can't push %s.",who->name);            "You can't push %s.",who->name);
       return 1;        return 0;
   }    }
      
   /* ok, now we are here. I only allow player pushing */    /* ok, now we are here. I only allow player pushing */


Legend:
line(s) removed in v.1.17 
line(s) changed
 line(s) added in v.1.18

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:38