From 9513b7316964cfc4136d5d0ef2a1eb49b4579e7a Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 13 Apr 2020 13:08:36 +0300 Subject: [PATCH] Trapped container creates occasionally an actual gas cloud --- src/trap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index d4e9af94d..c810af652 100644 --- a/src/trap.c +++ b/src/trap.c @@ -4920,7 +4920,10 @@ boolean disarm; case 18: case 17: pline("A cloud of noxious gas billows from %s.", the(xname(obj))); - poisoned("gas cloud", A_STR, "cloud of poison gas", 15, FALSE); + if (rn2(3)) + poisoned("gas cloud", A_STR, "cloud of poison gas", 15, FALSE); + else + create_gas_cloud(obj->ox, obj->oy, 1, 8); exercise(A_CON, FALSE); break; case 16: