Difference for server/apply.c from version 1.179 to 1.180


version 1.179 version 1.180
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.179 2006/09/10 00:24:33 qal21 Exp $";   *   "$Id: apply.c,v 1.180 2006/09/10 14:21:16 qal21 Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 138
 
Line 138
         /* If the player is holding the transport, drop it. */          /* If the player is holding the transport, drop it. */
         if (transport->env == pl) {          if (transport->env == pl) {
             old_transport = transport;              old_transport = transport;
               /* Don't drop transports in shops. */
               if (!is_in_shop(pl)) {
             transport = drop_object(pl, transport, 1);              transport = drop_object(pl, transport, 1);
               } else {
                   new_draw_info_format(NDI_UNIQUE, 0, pl,
                       "You cannot drop the %s in a shop to use it.",
                       query_name(old_transport));
                   return 1;
               }
             /* Did it fail to drop? */              /* Did it fail to drop? */
             if(!transport) {              if(!transport) {
                 new_draw_info_format(NDI_UNIQUE, 0, pl,                  new_draw_info_format(NDI_UNIQUE, 0, pl,


Legend:
line(s) removed in v.1.179 
line(s) changed
 line(s) added in v.1.180

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