Difference for server/c_wiz.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.11 2001/05/29 04:41:53 mwedel Exp $";   *   "$Id: c_wiz.c,v 1.12 2001/07/14 04:11:18 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 339
 
Line 339
           prev=tmp;            prev=tmp;
         }          }
         if (QUERY_FLAG(head,FLAG_ALIVE))          if (QUERY_FLAG(head,FLAG_ALIVE))
           insert_ob_in_map(head,op->map,op);            insert_ob_in_map(head,op->map,op,0);
         else          else
           head = insert_ob_in_ob(head,op);            head = insert_ob_in_ob(head,op);
         if (at->clone.randomitems!=NULL)          if (at->clone.randomitems!=NULL)
Line 663
 
Line 663
  clean_tmp_map(m);   clean_tmp_map(m);
  if (m->tmpname) free(m->tmpname);   if (m->tmpname) free(m->tmpname);
  m->tmpname = NULL;   m->tmpname = NULL;
  m->reset_time = 0;   /* setting this effectively causes an immediate reload */
    m->reset_time = 1;
  new_draw_info(NDI_UNIQUE, 0,op,"OK.");   new_draw_info(NDI_UNIQUE, 0,op,"OK.");
  if (tmp) {   if (tmp) {
      enter_exit(tmp, dummy);       enter_exit(tmp, dummy);
Line 673
 
Line 674
     } else {      } else {
  /* 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);       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,"Reset failed, couldn't swap map.\n");
Line 765
 
Line 766
   if (!op)    if (!op)
     return 0;      return 0;
       op->invisible+=100;        op->invisible+=100;
       update_object(op);        update_object(op,UP_OBJ_FACE);
       new_draw_info(NDI_UNIQUE, 0,op,"You turn invisible.");        new_draw_info(NDI_UNIQUE, 0,op,"You turn invisible.");
   return 0;    return 0;
 }  }


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

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