… | |
… | |
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 | */ |
228 | void |
228 | static void |
229 | fix_container (object *container) |
229 | fix_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; |