mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 03:54:47 +00:00
splashing sounds when pushing things into water/chasms; barrels produce permanent walls
This commit is contained in:
parent
d982407d5a
commit
df73ccb4c2
6
game.cpp
6
game.cpp
@ -7555,11 +7555,13 @@ void pushThumper(cell *th, cell *cto) {
|
||||
}
|
||||
else if(cellUnstableOrChasm(cto)) {
|
||||
addMessage(XLAT("%The1 fills the hole!", w));
|
||||
cto->wall = waTempFloor;
|
||||
cto->wall = w == waThumperOn ? waTempFloor : waNone;
|
||||
playSound(cto, "click");
|
||||
}
|
||||
else if(isWatery(cto)) {
|
||||
addMessage(XLAT("%The1 fills the hole!", w));
|
||||
cto->wall = waTempBridge;
|
||||
cto->wall = w == waThumperOn ? waTempBridge : waNone;
|
||||
playSound(cto, "splash"+pick12());
|
||||
}
|
||||
else
|
||||
cto->wall = w;
|
||||
|
Loading…
Reference in New Issue
Block a user