mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-11 20:08:50 +01:00
Removed dead stores.
This commit is contained in:
parent
5cca63a01c
commit
bf941bc9b2
28 changed files with 85 additions and 139 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue