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.2 by root, Tue Aug 29 08:01:35 2006 UTC vs.
Revision 1.3 by root, Thu Aug 31 17:54:14 2006 UTC

1/* 1/*
2 * static char *rcsid_friend_c = 2 * static char *rcsid_friend_c =
3 * "$Id: friend.C,v 1.2 2006/08/29 08:01:35 root Exp $"; 3 * "$Id: friend.C,v 1.3 2006/08/31 17:54:14 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
87 /* This should not happen. But if it does, presumably the 87 /* This should not happen. But if it does, presumably the
88 * call to remove it is still valid. 88 * call to remove it is still valid.
89 */ 89 */
90 if (obj->id != op->count) { 90 if (obj->id != op->count) {
91 LOG(llevError,"remove_friendly_object, tags do no match, %s, %d != %d\n", 91 LOG(llevError,"remove_friendly_object, tags do no match, %s, %d != %d\n",
92 op->name?op->name:"none", op->count, obj->id); 92 op->name?(const char *)op->name:"none", op->count, obj->id);
93 } 93 }
94 prev->next = obj->next; 94 prev->next = obj->next;
95 free(obj); 95 free(obj);
96 } 96 }
97 } 97 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines