projects
/
nethack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2e2695
)
Melded pudding object may be gone
author
Pasi Kallinen
<paxed@alt.org>
Mon, 4 May 2015 19:19:27 +0000
(22:19 +0300)
committer
Pasi Kallinen
<paxed@alt.org>
Mon, 4 May 2015 19:19:32 +0000
(22:19 +0300)
src/do.c
patch
|
blob
|
history
diff --git
a/src/do.c
b/src/do.c
index 3962e6d01e4336985a309e82c5f3b8a9993fa3c1..d8585935322666faf6a034629231119d685cb65f 100644
(file)
--- a/
src/do.c
+++ b/
src/do.c
@@
-218,7
+218,7
@@
const char *verb;
/* Globby things like puddings might stick together */
while (obj && (otmp = obj_nexto_xy(obj->otyp, x, y, obj->o_id)) != (struct obj*)0) {
pudding_merge_message(obj, otmp);
- obj_meld(&obj, &otmp);
+ obj
= obj
_meld(&obj, &otmp);
}
return (obj == NULL);
}