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:
parent
e762fcab2e
commit
52305eb830
2
game.cpp
2
game.cpp
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user