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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.184 by root, Sun Apr 20 23:25:09 2008 UTC vs.
Revision 1.185 by root, Mon Apr 21 06:35:26 2008 UTC

1987 op->statusmsg (format ("You open the door with the %s", query_short_name (key)), NDI_BROWN); 1987 op->statusmsg (format ("You open the door with the %s", query_short_name (key)), NDI_BROWN);
1988 remove_door2 (door); /* remove door without violence ;-) */ 1988 remove_door2 (door); /* remove door without violence ;-) */
1989 } 1989 }
1990 1990
1991 /* Do this after we print the message */ 1991 /* Do this after we print the message */
1992 decrease_ob (key); /* Use up one of the keys */ 1992 key->decrease (); /* Use up one of the keys */
1993 /* Need to update the weight the container the key was in */ 1993 /* Need to update the weight the container the key was in */
1994 if (container != op) 1994 if (container != op)
1995 esrv_update_item (UPD_WEIGHT, op, container); 1995 esrv_update_item (UPD_WEIGHT, op, container);
1996 1996
1997 return 1; /* Nothing more to do below */ 1997 return 1; /* Nothing more to do below */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines