From: Sebastian Buchwald Date: Wed, 9 Mar 2016 10:05:28 +0000 (+0100) Subject: Return computed result instead of constant. X-Git-Tag: NetHack-3.6.1_RC01~834^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=545455b8cd8618700098b3ce89e8fa5e02d4347b;p=nethack Return computed result instead of constant. --- diff --git a/src/trap.c b/src/trap.c index 716962de1..d69b50aa2 100644 --- a/src/trap.c +++ b/src/trap.c @@ -4524,7 +4524,7 @@ boolean *noticed; /* set to true iff hero notices the effect; */ --force_mintrap; /* mon might now be on the migrating monsters list */ } - return TRUE; + return result; } /* only called when the player is doing something to the chest directly */