Melded pudding object may be gone

This commit is contained in:
Pasi Kallinen
2015-05-04 22:19:27 +03:00
parent e2e269504c
commit 766d874a47

View File

@@ -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);
}