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

Comparing deliantra/server/socket/item.C (file contents):
Revision 1.35 by root, Sun Jan 21 21:28:27 2007 UTC vs.
Revision 1.37 by root, Sat Feb 10 01:52:29 2007 UTC

674 */ 674 */
675 675
676void 676void
677esrv_del_item (player *pl, int tag) 677esrv_del_item (player *pl, int tag)
678{ 678{
679 if (!pl->ns)
680 return;
681
679 packet sl ("delitem"); 682 packet sl ("delitem");
680 683
681 sl << uint32 (tag); 684 sl << uint32 (tag);
682 685
683 pl->ns->send_packet (sl); 686 pl->ns->send_packet (sl);
879 else 882 else
880 new_draw_info (NDI_UNIQUE, 0, op, "You see nothing."); 883 new_draw_info (NDI_UNIQUE, 0, op, "You see nothing.");
881 } 884 }
882} 885}
883 886
884
885
886/** Client wants to look at some object. Lets do so. */ 887/** Client wants to look at some object. Lets do so. */
887void 888void
888LookAt (char *buf, int len, player *pl) 889LookAt (char *buf, int len, player *pl)
889{ 890{
890 int dx, dy; 891 int dx, dy;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines