fixed thumper-to-water/chasm counters
This commit is contained in:
parent
e762fcab2e
commit
52305eb830
2
game.cpp
2
game.cpp
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue