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.18 by root, Sun Sep 3 00:18:42 2006 UTC vs.
Revision 1.19 by elmex, Sun Sep 3 14:33:46 2006 UTC

1/* 1/*
2 * static char *rcsid_apply_c = 2 * static char *rcsid_apply_c =
3 * "$Id: apply.C,v 1.18 2006/09/03 00:18:42 root Exp $"; 3 * "$Id: apply.C,v 1.19 2006/09/03 14:33:46 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
1021 if ( QUERY_FLAG(sack, FLAG_APPLIED)) { 1021 if ( QUERY_FLAG(sack, FLAG_APPLIED)) {
1022 if (op->container == NULL) { 1022 if (op->container == NULL) {
1023 tmp = arch_to_object (sack->other_arch); 1023 tmp = arch_to_object (sack->other_arch);
1024 /* not good, but insert_ob_in_ob() is too smart */ 1024 /* not good, but insert_ob_in_ob() is too smart */
1025 CLEAR_FLAG (tmp, FLAG_REMOVED); 1025 CLEAR_FLAG (tmp, FLAG_REMOVED);
1026 tmp->x= tmp->y = tmp->ox = tmp->oy = 0; 1026 tmp->x= tmp->y = 0;
1027 tmp->map = NULL; 1027 tmp->map = NULL;
1028 tmp->env = sack; 1028 tmp->env = sack;
1029 if (sack->inv) 1029 if (sack->inv)
1030 sack->inv->above = tmp; 1030 sack->inv->above = tmp;
1031 tmp->below = sack->inv; 1031 tmp->below = sack->inv;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines