U510: yet another update_inventory call
When armor becomes ungreased, update_inventory to reflect the change.
This commit is contained in:
@@ -783,6 +783,7 @@ struct attack *mattk;
|
|||||||
if (obj->greased && !rn2(2)) {
|
if (obj->greased && !rn2(2)) {
|
||||||
pline_The("grease wears off.");
|
pline_The("grease wears off.");
|
||||||
obj->greased = 0;
|
obj->greased = 0;
|
||||||
|
update_inventory();
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user