mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-23 00:54:47 +00:00
push an exploding barrel on a mine now causes an explosion
This commit is contained in:
2
game.cpp
2
game.cpp
@@ -347,6 +347,8 @@ EX void pushThumper(const movei& mi) {
|
|||||||
if(w == waThumperOn)
|
if(w == waThumperOn)
|
||||||
explode = 2;
|
explode = 2;
|
||||||
}
|
}
|
||||||
|
if(w == waExplosiveBarrel && cto->wall == waMineMine)
|
||||||
|
explode = 2;
|
||||||
destroyTrapsOn(cto);
|
destroyTrapsOn(cto);
|
||||||
if(cto->wall == waOpenPlate || cto->wall == waClosePlate) {
|
if(cto->wall == waOpenPlate || cto->wall == waClosePlate) {
|
||||||
toggleGates(cto, cto->wall);
|
toggleGates(cto, cto->wall);
|
||||||
|
|||||||
Reference in New Issue
Block a user