trouble after applying a wielded cream pie
<Someone> wrote: > I can' t find this bug in the known bug list. If I missed I do apologize. > It occurs on the standard windows nethack.exe. Just wield a cream pie > and then apply it. Press x to switch weapons. Program in disorder. > s - 1752440940 glorkum 32 26485 101's named ? (alternate weapon; not wielded). > Greetings, <Someone> It crashed with an access violation for me.
This commit is contained in:
@@ -2599,6 +2599,8 @@ struct obj *obj;
|
||||
You_cant("see through all the sticky goop on your %s.",
|
||||
body_part(FACE));
|
||||
}
|
||||
|
||||
setnotworn(obj);
|
||||
/* useup() is appropriate, but we want costly_alteration()'s message */
|
||||
costly_alteration(obj, COST_SPLAT);
|
||||
obj_extract_self(obj);
|
||||
|
||||
Reference in New Issue
Block a user