Difference for server/c_range.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_range_c =   * static char *rcsid_c_range_c =
  *   "$Id: c_range.c,v 1.15 2006/01/10 16:32:44 cavesomething Exp $";   *   "$Id: c_range.c,v 1.16 2006/06/05 06:28:56 mwedel Exp $";
  */   */
   
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
   
     Copyright (C) 2002 Mark Wedel & Crossfire Development Team      Copyright (C) 2006 Mark Wedel & Crossfire Development Team
     Copyright (C) 1992 Frank Tore Johansen      Copyright (C) 1992 Frank Tore Johansen
   
     This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
Line 150
 
Line 150
   
     if(params!=NULL) {      if(params!=NULL) {
  int spellnumber = 0;   int spellnumber = 0;
  if (spellnumber = atoi(params))    if ((spellnumber = atoi(params))!=0)
      for (spob = op->inv; spob && spob->count != spellnumber; spob=spob->below);       for (spob = op->inv; spob && spob->count != spellnumber; spob=spob->below);
  else spob = lookup_spell_by_name(op, params);   else spob = lookup_spell_by_name(op, params);
   


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

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