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.48 by root, Fri Jun 8 09:18:31 2007 UTC vs.
Revision 1.49 by root, Fri Jun 8 09:20:20 2007 UTC

845 845
846 maptile *m = pl->observe->map; 846 maptile *m = pl->observe->map;
847 sint16 x = pl->observe->x + dx; 847 sint16 x = pl->observe->x + dx;
848 sint16 y = pl->observe->y + dy; 848 sint16 y = pl->observe->y + dy;
849 849
850 if (!m)
851 return;
852
850 if (!xy_normalise (m, x, y)) 853 if (!xy_normalise (m, x, y))
851 { 854 {
852 new_draw_info (NDI_UNIQUE, 0, ob, "You see nothing there."); 855 new_draw_info (NDI_UNIQUE, 0, ob, "You see nothing there.");
853 return; 856 return;
854 } 857 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines