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:
parent
c9229f36d6
commit
d7445d4fdf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user