ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_object.C
(Generate patch)

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.29 by root, Wed Dec 20 09:14:22 2006 UTC vs.
Revision 1.30 by root, Thu Dec 21 23:37:05 2006 UTC

740 740
741 if (op->type == PLAYER) 741 if (op->type == PLAYER)
742 { 742 {
743 /* Need to update the weight for the player */ 743 /* Need to update the weight for the player */
744 esrv_send_item (op, op); 744 esrv_send_item (op, op);
745 op->contr->socket->floorbox_update (); 745 op->contr->ns->floorbox_update ();
746 } 746 }
747 747
748 for (floor = GET_MAP_OB (op->map, op->x, op->y); floor; floor = floor->above) 748 for (floor = GET_MAP_OB (op->map, op->x, op->y); floor; floor = floor->above)
749 if (INVOKE_OBJECT (DROP_ON, floor, ARG_OBJECT (tmp), ARG_OBJECT (op))) 749 if (INVOKE_OBJECT (DROP_ON, floor, ARG_OBJECT (tmp), ARG_OBJECT (op)))
750 return; 750 return;
940 } 940 }
941 curinv = nextinv; 941 curinv = nextinv;
942 } 942 }
943 } 943 }
944 944
945 op->contr->socket->floorbox_update (); 945 op->contr->ns->floorbox_update ();
946 946
947/* draw_look(op);*/ 947/* draw_look(op);*/
948 return 0; 948 return 0;
949} 949}
950 950
980 new_draw_info (NDI_UNIQUE, 0, op, "Nothing to drop."); 980 new_draw_info (NDI_UNIQUE, 0, op, "Nothing to drop.");
981 } 981 }
982 if (op->type == PLAYER) 982 if (op->type == PLAYER)
983 { 983 {
984 op->contr->count = 0; 984 op->contr->count = 0;
985 op->contr->socket->floorbox_update (); 985 op->contr->ns->floorbox_update ();
986 }; 986 };
987 987
988/* draw_look(op);*/ 988/* draw_look(op);*/
989 return 0; 989 return 0;
990} 990}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines