From e992c6a3cdc43864b5d220d40f9f6d7147fce71c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 8 Jul 2020 12:42:33 +0200 Subject: [PATCH] fixed the boat protection given by Orb of Winter --- mapeffects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mapeffects.cpp b/mapeffects.cpp index c6493266..debea1e2 100644 --- a/mapeffects.cpp +++ b/mapeffects.cpp @@ -362,7 +362,8 @@ EX bool makeflame(cell *c, int timeout, bool checkonly) { return false; else if(c->wall == waBoat) { if(isPlayerOn(c) && markOrb(itOrbWinter)) { - addMessage(XLAT("%the1 protects your boat!", itOrbWinter)); + if(!checkonly) addMessage(XLAT("%the1 protects your boat!", itOrbWinter)); + return true; } if(checkonly) return true; if(c->cpdist <= 7)