ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/apply.C
(Generate patch)

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.16 by root, Wed Aug 30 09:31:30 2006 UTC vs.
Revision 1.17 by elmex, Wed Aug 30 11:58:43 2006 UTC

1/* 1/*
2 * static char *rcsid_apply_c = 2 * static char *rcsid_apply_c =
3 * "$Id: apply.C,v 1.16 2006/08/30 09:31:30 root Exp $"; 3 * "$Id: apply.C,v 1.17 2006/08/30 11:58:43 elmex Exp $";
4 */ 4 */
5/* 5/*
6 CrossFire, A Multiplayer game for X-windows 6 CrossFire, A Multiplayer game for X-windows
7 7
8 Copyright (C) 2001 Mark Wedel & Crossfire Development Team 8 Copyright (C) 2001 Mark Wedel & Crossfire Development Team
1127 if (op->container && QUERY_FLAG(sack, FLAG_APPLIED)) { 1127 if (op->container && QUERY_FLAG(sack, FLAG_APPLIED)) {
1128 if (op->container->env != op) { /* if container is on the ground */ 1128 if (op->container->env != op) { /* if container is on the ground */
1129 op->container->move_off = 0; 1129 op->container->move_off = 0;
1130 } 1130 }
1131 1131
1132 if (INVOKE_OBJECT (CLOSE, op)) 1132 if (INVOKE_OBJECT (CLOSE, tmp, ARG_OBJECT (op)))
1133 return 1; 1133 return 1;
1134 1134
1135 new_draw_info_format(NDI_UNIQUE, 0, op, "You close %s.", 1135 new_draw_info_format(NDI_UNIQUE, 0, op, "You close %s.",
1136 query_name(op->container)); 1136 query_name(op->container));
1137 CLEAR_FLAG(op->container, FLAG_APPLIED); 1137 CLEAR_FLAG(op->container, FLAG_APPLIED);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines