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.53 by root, Sun Sep 30 20:22:25 2007 UTC vs.
Revision 1.54 by root, Fri Oct 19 04:25:10 2007 UTC

841look_at (player *pl, int dx, int dy) 841look_at (player *pl, int dx, int dy)
842{ 842{
843 dynbuf_text buf; 843 dynbuf_text buf;
844 object *ob = pl->ob; 844 object *ob = pl->ob;
845 845
846 if (!pl->observe->map)
847 return;
848
846 mapxy pos (pl->observe); 849 mapxy pos (pl->observe);
847 pos.move (dx, dy); 850 pos.move (dx, dy);
848 851
849 if (pos.normalise ()) 852 if (pos.normalise ())
850 for (object *tmp = pos->top; tmp; tmp = tmp->below) 853 for (object *tmp = pos->top; tmp; tmp = tmp->below)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines