1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-22 19:37:04 +00:00

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

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)