U510: yet another update_inventory call

When armor becomes ungreased, update_inventory to reflect the change.
This commit is contained in:
cohrs
2003-06-19 02:26:49 +00:00
parent 45460e3f9a
commit 71fbc01113
+1
View File
@@ -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;
} }