fixed the boat protection given by Orb of Winter

This commit is contained in:
Zeno Rogue 2020-07-08 12:42:33 +02:00
parent bf1269e525
commit e992c6a3cd
1 changed files with 2 additions and 1 deletions

View File

@ -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)