mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
Item/boat burning message no longer appears when this happens out of sight
This commit is contained in:
parent
3a3453da2d
commit
43994125d8
5
game.cpp
5
game.cpp
@ -1598,7 +1598,9 @@ bool makeflame(cell *c, int timeout, bool checkonly) {
|
||||
if(!checkonly) destroyTrapsOn(c);
|
||||
if(itemBurns(c->item)) {
|
||||
if(checkonly) return true;
|
||||
addMessage(XLAT("%The1 burns!", c->item)), c->item = itNone;
|
||||
if(c->cpdist <= 7)
|
||||
addMessage(XLAT("%The1 burns!", c->item));
|
||||
c->item = itNone;
|
||||
}
|
||||
if(cellUnstable(c)) {
|
||||
if(checkonly) return true;
|
||||
@ -1609,6 +1611,7 @@ bool makeflame(cell *c, int timeout, bool checkonly) {
|
||||
return false;
|
||||
else if(c->wall == waBoat) {
|
||||
if(checkonly) return true;
|
||||
if(c->cpdist <= 7)
|
||||
addMessage(XLAT("%The1 burns!", winf[c->wall].name));
|
||||
drawFireParticles(c, 24);
|
||||
placeWater(c, c);
|
||||
|
Loading…
Reference in New Issue
Block a user