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.81 by root, Tue Oct 20 07:18:11 2009 UTC vs.
Revision 1.82 by root, Fri Nov 6 13:07:28 2009 UTC

48 48
49/** 49/**
50 * This is a similar to query_name, but returns flags 50 * This is a similar to query_name, but returns flags
51 * to be sent to client. 51 * to be sent to client.
52 */ 52 */
53unsigned int 53static unsigned int
54query_flags (object *op) 54query_flags (object *op)
55{ 55{
56 unsigned int flags = 0; 56 unsigned int flags = 0;
57 57
58 if (QUERY_FLAG (op, FLAG_APPLIED)) 58 if (QUERY_FLAG (op, FLAG_APPLIED))
521 521
522/** 522/**
523 * Takes a player and object count (tag) and returns the actual object 523 * Takes a player and object count (tag) and returns the actual object
524 * pointer, or null if it can't be found. 524 * pointer, or null if it can't be found.
525 */ 525 */
526object * 526static object *
527esrv_get_ob_from_count (object *pl, tag_t count) 527esrv_get_ob_from_count (object *pl, tag_t count)
528{ 528{
529 if (pl->count == count) 529 if (pl->count == count)
530 return pl; 530 return pl;
531 531

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines