1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

spaceship in turn-based mode attack is graphically represented by shooting a tiny missile, not by bumping

This commit is contained in:
Zeno Rogue
2024-10-12 10:39:30 +02:00
parent 831991d87e
commit 75247f9271
5 changed files with 25 additions and 7 deletions

View File

@@ -503,7 +503,7 @@ bool pcmove::swing() {
if(checkonly) return true;
if(changes.on) changes.commit();
animateAttack(mi, LAYER_SMALL);
animateCorrectAttack(mi, LAYER_SMALL, moPlayer);
if(survivalist && isHaunted(mi.t->land))
survivalist = false;
lastmovetype = lmTree; lastmove = mi.t;
@@ -1233,7 +1233,7 @@ bool pcmove::attack() {
produceGhost(c2, m, moPlayer);
}
if(mip.proper()) pushMonster(mip);
animateAttack(mi, LAYER_SMALL);
animateCorrectAttack(mi, LAYER_SMALL, moPlayer);
}
}