--- deliantra/server/socket/item.C 2006/12/19 05:12:52 1.25 +++ deliantra/server/socket/item.C 2006/12/19 05:41:22 1.26 @@ -230,9 +230,9 @@ if (pl->contr->socket->look_position) { char buf[80]; - snprintf (buf, 80, "Apply this to see %d previous items", NUM_LOOK_OBJECTS); + snprintf (buf, 80, "Apply this to see %d previous items", FLOORBOX_PAGESIZE); - sl << uint32 (0x80000000 | (pl->contr->socket->look_position - NUM_LOOK_OBJECTS)) + sl << uint32 (0x80000000 | (pl->contr->socket->look_position - FLOORBOX_PAGESIZE)) << uint32 (0) << sint32 (-1) << uint32 (empty_face->number) @@ -263,12 +263,12 @@ end_look++; - if (end_look > NUM_LOOK_OBJECTS) + if (end_look > FLOORBOX_PAGESIZE) { /* 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. */ - sl << uint32 (0x80000000 | (pl->contr->socket->look_position + NUM_LOOK_OBJECTS)) + sl << uint32 (0x80000000 | (pl->contr->socket->look_position + FLOORBOX_PAGESIZE)) << uint32 (0) << uint32 ((uint32) - 1) << uint32 (empty_face->number) @@ -636,7 +636,7 @@ player_apply (pl->ob, op, 0, 0); } -/** Client wants to apply some object. Lets do so. */ +/** Client wants to lock some object. Lets do so. */ void LockItem (char *data, int len, player *pl) { @@ -658,7 +658,7 @@ esrv_update_item (UPD_FLAGS, pl->ob, op); } -/** Client wants to apply some object. Lets do so. */ +/** Client wants to mark some object. Lets do so. */ void MarkItem (char *data, int len, player *pl) {