Difference for server/c_wiz.c from version 1.70 to 1.71


version 1.70 version 1.71
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.70 2005/09/25 09:47:23 ryo_saeba Exp $";   *   "$Id: c_wiz.c,v 1.71 2005/10/14 01:01:22 cavesomething Exp $";
  */   */
   
 /*  /*
Line 1235
 
Line 1235
  }   }
  return 1;   return 1;
     } else {      } else {
    player *pl;
    int playercount=0;
  /* Need to re-insert player if swap failed for some reason */   /* Need to re-insert player if swap failed for some reason */
  if (tmp) {   if (tmp) {
      insert_ob_in_map(op, m, NULL,0);       insert_ob_in_map(op, m, NULL,0);
      free_object(dummy);       free_object(dummy);
  }   }
  new_draw_info(NDI_UNIQUE, 0,op,"Reset failed, couldn't swap map.\n");   new_draw_info(NDI_UNIQUE, 0,op,
  new_draw_info(NDI_UNIQUE, 0,op,"Probably another player is on the map\n");       "Reset failed, couldn't swap map, the following players are on it:");
    for (pl=first_player; pl!=NULL; pl=pl->next) {
        if (pl->ob->map == m && pl->ob != op) {
    new_draw_info_format(NDI_UNIQUE, 0, op, "%s", pl->ob->name);
    playercount++;
        }
    }
    if (!playercount) new_draw_info(NDI_UNIQUE, 0, op,
    "hmm, I don't see any other players on this map, something else is the problem.");
  return 1;   return 1;
     }      }
 }  }


Legend:
line(s) removed in v.1.70 
line(s) changed
 line(s) added in v.1.71

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