Removed dead stores.
This commit is contained in:
@@ -727,7 +727,6 @@ void obj_to_obj(struct obj_data *obj, struct obj_data *obj_to)
|
||||
obj->next_content = obj_to->contains;
|
||||
obj_to->contains = obj;
|
||||
obj->in_obj = obj_to;
|
||||
tmp_obj = obj->in_obj;
|
||||
|
||||
/* Add weight to container, unless unlimited. */
|
||||
if (GET_OBJ_VAL(obj->in_obj, 0) > 0) {
|
||||
@@ -751,7 +750,6 @@ void obj_from_obj(struct obj_data *obj)
|
||||
return;
|
||||
}
|
||||
obj_from = obj->in_obj;
|
||||
temp = obj->in_obj;
|
||||
REMOVE_FROM_LIST(obj, obj_from->contains, next_content);
|
||||
|
||||
/* Subtract weight from containers container unless unlimited. */
|
||||
|
||||
Reference in New Issue
Block a user