Difference for server/c_object.c from version 1.65 to 1.66


version 1.65 version 1.66
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.65 2005/09/03 19:15:45 tchize Exp $";   *   "$Id: c_object.c,v 1.66 2005/09/04 16:58:12 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 715
 
Line 715
  alt = op;   alt = op;
     }      }
 #ifdef PICKUP_DEBUG  #ifdef PICKUP_DEBUG
     printf ("Pick_up(): %s picks %s (%d) and inserts it %s.\n",op->name, tmp->name,  op->contr->count, alt->name);      LOG(llevDebug, "Pick_up(): %s picks %s (%d) and inserts it %s.\n", op->name, tmp->name,  op->contr->count, alt->name);
 #endif  #endif
   
     /* startequip items are not allowed to be put into containers: */      /* startequip items are not allowed to be put into containers: */
Line 1666
 
Line 1666
         display_new_pickup( op );          display_new_pickup( op );
         return 1;          return 1;
     }      }
     if(1)fprintf(stderr,"command_pickup: !params\n");      if(1) LOG(llevDebug, "command_pickup: !params\n");
     set_pickup_mode(op, (op->contr->mode > 6)? 0: op->contr->mode+1);      set_pickup_mode(op, (op->contr->mode > 6)? 0: op->contr->mode+1);
     return 0;      return 0;
   }    }
Line 1698
 
Line 1698
       }        }
   
   if(!sscanf(params, "%ud", &i) || i<0 ) {    if(!sscanf(params, "%ud", &i) || i<0 ) {
     if(1)fprintf(stderr,"command_pickup: params==NULL\n");      if(1) LOG(llevDebug, "command_pickup: params==NULL\n");
     new_draw_info(NDI_UNIQUE, 0,op,"Usage: pickup <0-7> or <value_density> .");      new_draw_info(NDI_UNIQUE, 0,op,"Usage: pickup <0-7> or <value_density> .");
     return 1;      return 1;
   }    }


Legend:
line(s) removed in v.1.65 
line(s) changed
 line(s) added in v.1.66

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