1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 09:50:34 +00:00

fixed spurious messages about slashing the Shadow

This commit is contained in:
Zeno Rogue 2021-06-06 11:25:43 +02:00
parent c9229f36d6
commit d7445d4fdf

View File

@ -1470,7 +1470,7 @@ EX void moveshadow() {
cshpos = (cshpos+1) % SHSIZE;
for(int p: player_indices()) {
cell* where = shpos[cshpos][p];
if(sword::at(where)) {
if(where && sword::at(where)) {
kill_shadow_at(where);
fightmessage(moShadow, moPlayer, false, AF_SWORD_INTO);
continue;