ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/friend.c
(Generate patch)

Comparing deliantra/server/common/friend.c (file contents):
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:18 2006 UTC vs.
Revision 1.2 by elmex, Sun Aug 13 17:16:00 2006 UTC

1/* 1/*
2 * static char *rcsid_friend_c = 2 * static char *rcsid_friend_c =
3 * "$Id: friend.c,v 1.1.1.2 2006/02/22 18:01:18 elmex Exp $"; 3 * "$Id: friend.c,v 1.2 2006/08/13 17:16:00 elmex dead $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
138} 138}
139 139
140/* Checks if the given object is already in the friendly list or not 140/* Checks if the given object is already in the friendly list or not
141 * Lauwenmark - 31/07/05 141 * Lauwenmark - 31/07/05
142 */ 142 */
143int is_friendly(const object* op) 143int is_friendly(object* op)
144{ 144{
145 objectlink *ol; 145 objectlink *ol;
146 146
147 for(ol=first_friendly_object;ol!=NULL;ol=ol->next) 147 for(ol=first_friendly_object;ol!=NULL;ol=ol->next)
148 if (ol->ob == op) 148 if (ol->ob == op)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines