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

Comparing deliantra/server/common/map.C (file contents):
Revision 1.167 by root, Thu Nov 5 15:43:21 2009 UTC vs.
Revision 1.168 by root, Fri Nov 6 13:03:34 2009 UTC

223 * into inventory, but just links them. What this does is go through 223 * into inventory, but just links them. What this does is go through
224 * and insert them properly. 224 * and insert them properly.
225 * The object 'container' is the object that contains the inventory. 225 * The object 'container' is the object that contains the inventory.
226 * This is needed so that we can update the containers weight. 226 * This is needed so that we can update the containers weight.
227 */ 227 */
228void 228static void
229fix_container (object *container) 229fix_container (object *container)
230{ 230{
231 object *tmp = container->inv, *next; 231 object *tmp = container->inv, *next;
232 232
233 container->inv = 0; 233 container->inv = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines