1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-04 12:58:10 +00:00

fixed thumper-to-water/chasm counters

This commit is contained in:
Zeno Rogue 2019-04-08 14:55:26 +02:00
parent e762fcab2e
commit 52305eb830

View File

@ -7584,11 +7584,13 @@ void pushThumper(cell *th, cell *cto) {
else if(cellUnstableOrChasm(cto)) { else if(cellUnstableOrChasm(cto)) {
addMessage(XLAT("%The1 fills the hole!", w)); addMessage(XLAT("%The1 fills the hole!", w));
cto->wall = w == waThumperOn ? waTempFloor : waNone; cto->wall = w == waThumperOn ? waTempFloor : waNone;
cto->wparam = th->wparam;
playSound(cto, "click"); playSound(cto, "click");
} }
else if(isWatery(cto)) { else if(isWatery(cto)) {
addMessage(XLAT("%The1 fills the hole!", w)); addMessage(XLAT("%The1 fills the hole!", w));
cto->wall = w == waThumperOn ? waTempBridge : waNone; cto->wall = w == waThumperOn ? waTempBridge : waNone;
cto->wparam = th->wparam;
playSound(cto, "splash"+pick12()); playSound(cto, "splash"+pick12());
} }
else else