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
/
main.c
diff --git
a/src/main.c
b/src/main.c
index b27cf5d5724bfd446b484e90ba045d95ca019b43..88d90d2844dc1e51b48205101933a1791b974bc4 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-180,7
+180,8
@@
int main(int argc, char *argv[])
{
break;
}
{
break;
}
- if (is_command_id_shortdsc(action, "drop"))
+ if ( is_command_id_shortdsc(action, "drop")
+ || is_command_id_shortdsc(action, "use"))
{
world.inventory_select = getc(file);
}
{
world.inventory_select = getc(file);
}
@@
-203,7
+204,8
@@
int main(int argc, char *argv[])
action = getc(file);
if (EOF != action)
{
action = getc(file);
if (EOF != action)
{
- if (is_command_id_shortdsc(action, "drop"))
+ if ( is_command_id_shortdsc(action, "drop")
+ || is_command_id_shortdsc(action, "use"))
{
world.inventory_select = getc(file);
}
{
world.inventory_select = getc(file);
}