From e90999e5b624e8b40d559018598b9d02dc6f77a5 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Mon, 2 Aug 2021 22:13:40 -0700 Subject: [PATCH] Orb of Chaos now destroys arrow traps --- pcmove.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcmove.cpp b/pcmove.cpp index 7c8432f9..46629caf 100644 --- a/pcmove.cpp +++ b/pcmove.cpp @@ -569,6 +569,10 @@ void apply_chaos() { if(!items[itOrbChaos] || chaos_forbidden(ca) || chaos_forbidden(cb)) return; if(ca && is_paired(ca->monst)) killMonster(ca, moPlayer); if(cb && is_paired(cb->monst)) killMonster(cb, moPlayer); + destroyTrapsOn(ca); + destroyTrapsOn(cb); + if (ca->wall == waStone) destroyTrapsAround(ca); + if (cb->wall == waStone) destroyTrapsAround(cb); changes.ccell(ca); changes.ccell(cb); gcell coa = *ca;