Difference for socket/item.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.23 2002/05/31 04:18:39 mwedel Exp $";   *    "$Id: item.c,v 1.24 2002/06/01 05:38:07 mwedel Exp $";
  */   */
   
 /*  /*
Line 174
 
Line 174
  SockList_AddShort(&sl,0);   SockList_AddShort(&sl,0);
  SockList_AddChar(&sl, 0);   SockList_AddChar(&sl, 0);
  SockList_AddInt(&sl, 0);   SockList_AddInt(&sl, 0);
    if (pl->contr->socket.itemcmd == 2)
        SockList_AddShort(&sl, 0);
     }      }
   
     for (last=NULL; tmp!=last; tmp=tmp->below) {      for (last=NULL; tmp!=last; tmp=tmp->below) {
Line 186
 
Line 188
      if (++start_look < pl->contr->socket.look_position) continue;       if (++start_look < pl->contr->socket.look_position) continue;
      end_look++;       end_look++;
      if (end_look > NUM_LOOK_OBJECTS) {       if (end_look > NUM_LOOK_OBJECTS) {
    /* What we basically do is make a 'fake' object - when the user applies it,
    * we notice the special tag the object has, and act accordingly.
    */
  SockList_AddInt(&sl, 0x80000000 | (pl->contr->socket.look_position+ NUM_LOOK_OBJECTS));   SockList_AddInt(&sl, 0x80000000 | (pl->contr->socket.look_position+ NUM_LOOK_OBJECTS));
  SockList_AddInt(&sl, 0);   SockList_AddInt(&sl, 0);
  SockList_AddInt(&sl, -1);   SockList_AddInt(&sl, -1);
Line 195
 
Line 200
  SockList_AddShort(&sl,0);   SockList_AddShort(&sl,0);
  SockList_AddChar(&sl, 0);   SockList_AddChar(&sl, 0);
  SockList_AddInt(&sl, 0);   SockList_AddInt(&sl, 0);
    if (pl->contr->socket.itemcmd == 2)
        SockList_AddShort(&sl, 0);
  break;   break;
      }       }
   


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

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