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
1 changed files with 2 additions and 0 deletions

View File

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