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.6 by root, Tue Sep 12 19:20:09 2006 UTC vs.
Revision 1.8 by root, Sat Sep 16 22:24:13 2006 UTC

16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21 The author can be reached via e-mail to crossfire-devel@real-time.com 21 The author can be reached via e-mail to <crossfire@schmorp.de>
22*/ 22*/
23 23
24/** 24/**
25 * \file 25 * \file
26 * Client/server logic. 26 * Client/server logic.
700look_at (object *op, int dx, int dy) 700look_at (object *op, int dx, int dy)
701{ 701{
702 object *tmp; 702 object *tmp;
703 int flag = 0; 703 int flag = 0;
704 sint16 x, y; 704 sint16 x, y;
705 mapstruct *m; 705 maptile *m;
706 706
707 x = op->x + dx; 707 x = op->x + dx;
708 y = op->y + dy; 708 y = op->y + dy;
709 709
710 if (out_of_map (op->map, x, y)) 710 if (out_of_map (op->map, x, y))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines