From 545455b8cd8618700098b3ce89e8fa5e02d4347b Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Wed, 9 Mar 2016 11:05:28 +0100 Subject: [PATCH] Return computed result instead of constant. --- src/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */