Difference for server/apply.c from version 1.170 to 1.171


version 1.170 version 1.171
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.170 2006/07/02 15:32:35 tchize Exp $";   *   "$Id: apply.c,v 1.171 2006/08/07 07:57:55 ryo_saeba Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 151
 
Line 151
   
  /* Everything checks out OK - player can get on the transport */   /* Everything checks out OK - player can get on the transport */
  pl->contr->transport = transport;   pl->contr->transport = transport;
  if (!transport->contr) transport->contr = pl->contr;      if (transport->contr) {
           new_draw_info_format(NDI_UNIQUE, 0, pl, "The %s's captain is currently %s", query_name(transport), transport->contr->ob->name);
       }
       else {
           new_draw_info_format(NDI_UNIQUE, 0, pl, "You're the %s's captain", query_name(transport));
           transport->contr = pl->contr;
       }
  remove_ob(pl);   remove_ob(pl);
  insert_ob_in_ob(pl, transport);   insert_ob_in_ob(pl, transport);
  sum_weight(transport);   sum_weight(transport);


Legend:
line(s) removed in v.1.170 
line(s) changed
 line(s) added in v.1.171

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