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.20 by root, Mon Oct 12 14:00:57 2009 UTC vs.
Revision 1.21 by root, Fri Nov 6 13:03:34 2009 UTC

139} 139}
140 140
141/* Checks if the given object is already in the friendly list or not 141/* Checks if the given object is already in the friendly list or not
142 * Lauwenmark - 31/07/05 142 * Lauwenmark - 31/07/05
143 */ 143 */
144int 144static int
145is_friendly (const object *op) 145is_friendly (const object *op)
146{ 146{
147 objectlink *ol;
148
149 for (ol = first_friendly_object; ol; ol = ol->next) 147 for (objectlink *ol = first_friendly_object; ol; ol = ol->next)
150 if (ol->ob == op) 148 if (ol->ob == op)
151 return 1; 149 return 1;
152 150
153 return 0; 151 return 0;
154} 152}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines