Difference for server/c_object.c from version 1.37 to 1.38


version 1.37 version 1.38
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.37 2002/08/22 12:37:55 jbontje Exp $";   *   "$Id: c_object.c,v 1.38 2002/09/11 06:21:46 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 374
 
Line 374
 {  {
     object *tmp, *next;      object *tmp, *next;
   
     tmp=(op->container) ? op->container->inv : op->below;      if (op->container)
    tmp=op->container;
       else {
    tmp=op->above;
    if (tmp) while (tmp->above) {
        tmp=tmp->above;
    }
    if (!tmp)
        tmp=op->below;
       }
   
     if (tmp==NULL) {      if (tmp==NULL) {
  new_draw_info(NDI_UNIQUE, 0,op,"Nothing to take!");   new_draw_info(NDI_UNIQUE, 0,op,"Nothing to take!");
  return 0;   return 0;


Legend:
line(s) removed in v.1.37 
line(s) changed
 line(s) added in v.1.38

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