Difference for server/c_wiz.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.9 2001/03/30 07:52:24 mwedel Exp $";   *   "$Id: c_wiz.c,v 1.10 2001/04/23 06:11:48 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 125
 
Line 125
  new_draw_info(NDI_UNIQUE,0,op,"Sorry, you can't shutdown the server.");   new_draw_info(NDI_UNIQUE,0,op,"Sorry, you can't shutdown the server.");
  return 1;   return 1;
     }      }
     command_kick(NULL,NULL);      /* We need to give op - command_kick expects it.  however, this means
     while (first_player!=NULL)       * the op won't get kicked off, so we do it ourselves
     {       */
  leave(first_player,0);      command_kick(op,NULL);
     }      check_score(op); /* Always check score */
       (void)save_player(op,0);
       play_again(op);
     cleanup();      cleanup();
     /* not reached */      /* not reached */
     return 1;      return 1;
Line 648
 
Line 650
  */   */
  if (op->map == m ) {   if (op->map == m ) {
      dummy=get_object();       dummy=get_object();
      dummy->map = m;       dummy->map = NULL;
      EXIT_X(dummy) = tmp->x;       EXIT_X(dummy) = op->x;
      EXIT_Y(dummy) = tmp->y;       EXIT_Y(dummy) = op->y;
      EXIT_PATH(dummy) = add_string(op->map->path);       EXIT_PATH(dummy) = add_string(op->map->path);
      remove_ob(op);       remove_ob(op);
        op->map = NULL;
      tmp=op;       tmp=op;
  }   }
  swap_map(m);   swap_map(m);


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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