home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dead shoggoths corpse to "magic meat" that can now be "used" i.e. consumed for hitpoi...
[plomrogue]
/
src
/
misc.c
diff --git
a/src/misc.c
b/src/misc.c
index 9aa609d1fafd3b8f2776d61fc60f954be42fe4a1..48ced07e635ead0f98b102380b416a735040cbd5 100644
(file)
--- a/
src/misc.c
+++ b/
src/misc.c
@@
-222,7
+222,8
@@
extern void turn_over(char action)
}
try_fclose(file_old, f_name);
exit_err(write_uint8(action, file_new), err_write);
}
try_fclose(file_old, f_name);
exit_err(write_uint8(action, file_new), err_write);
- if (is_command_id_shortdsc(action, "drop"))
+ if ( is_command_id_shortdsc(action, "drop")
+ || is_command_id_shortdsc(action, "use"))
{
uint8_t inventory_select = world.old_inventory_select;
exit_err(write_uint8(inventory_select, file_new), err_write);
{
uint8_t inventory_select = world.old_inventory_select;
exit_err(write_uint8(inventory_select, file_new), err_write);