mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
sound for Blue Raider's attack
This commit is contained in:
parent
7ee12bccc1
commit
f32eec47f3
7
game.cpp
7
game.cpp
@ -7057,9 +7057,12 @@ void monstersTurn() {
|
|||||||
if(!phase1) ca::simulate();
|
if(!phase1) ca::simulate();
|
||||||
if(!phase1) heat::processfires();
|
if(!phase1) heat::processfires();
|
||||||
|
|
||||||
for(cell *c: crush_now)
|
for(cell *c: crush_now) {
|
||||||
if(canAttack(c, moCrusher, c, c->monst, AF_GETPLAYER | AF_CRUSH))
|
playSound(NULL, "closegate");
|
||||||
|
if(canAttack(c, moCrusher, c, c->monst, AF_GETPLAYER | AF_CRUSH)) {
|
||||||
attackMonster(c, AF_MSG | AF_GETPLAYER | AF_CRUSH, moCrusher);
|
attackMonster(c, AF_MSG | AF_GETPLAYER | AF_CRUSH, moCrusher);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
crush_now = move(crush_next);
|
crush_now = move(crush_next);
|
||||||
crush_next.clear();
|
crush_next.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user