OSDN Git Service
(root)
/
jnethack
/
source.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade to 3.6.7
[jnethack/source.git]
/
src
/
apply.c
diff --git
a/src/apply.c
b/src/apply.c
index
e57caec
..
27eb693
100644
(file)
--- a/
src/apply.c
+++ b/
src/apply.c
@@
-786,8
+786,10
@@
boolean feedback;
Your("
\95
R
\82
ª
\82
½
\82
é
\82
ñ
\82
Å
\97
\8e
\82
¿
\82
½
\81
D");
}
for (otmp = invent; otmp; otmp = otmp->nobj)
Your("
\95
R
\82
ª
\82
½
\82
é
\82
ñ
\82
Å
\97
\8e
\82
¿
\82
½
\81
D");
}
for (otmp = invent; otmp; otmp = otmp->nobj)
- if (otmp->otyp == LEASH && otmp->leashmon == (int) mtmp->m_id)
+ if (otmp->otyp == LEASH && otmp->leashmon == (int) mtmp->m_id)
{
otmp->leashmon = 0;
otmp->leashmon = 0;
+ update_inventory();
+ }
mtmp->mleashed = 0;
}
mtmp->mleashed = 0;
}