From 52c98b300df582d1e80cba8db7a951905eba83dc Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 21 Jan 2023 17:15:38 +0200 Subject: [PATCH] Wrong order of params --- src/zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zap.c b/src/zap.c index 17353df2d..31a3a678d 100644 --- a/src/zap.c +++ b/src/zap.c @@ -4393,7 +4393,7 @@ dobuzz( gb.bhitpos.x = sx, gb.bhitpos.y = sy; /* Fireballs only damage when they explode */ if (type != ZT_SPELL(ZT_FIRE)) { - range += zap_over_floor(sx, sy, type, &shopdamage, 0, TRUE); + range += zap_over_floor(sx, sy, type, &shopdamage, TRUE, 0); /* zap with fire -> melt ice -> drown monster, so monster found and cached above might not be here any more */ mon = m_at(sx, sy);