tin opener fix
Applying a non-wielded tin opener and then declining to pick a tin to open would wield the opener without having any time elapse. Reformat the new tin opener code. Remove a no-longer-used label in doapply() in order to avoid a warning from gcc.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 apply.c $NHDT-Date: 1450481050 2015/12/18 23:24:10 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.214 $ */
|
||||
/* NetHack 3.6 apply.c $NHDT-Date: 1450573880 2015/12/20 01:11:20 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.216 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -3537,7 +3537,6 @@ doapply()
|
||||
break;
|
||||
}
|
||||
pline("Sorry, I don't know how to use that.");
|
||||
xit:
|
||||
nomul(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user