mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 18:24:27 +00:00
fixed spurious messages about slashing the Shadow
This commit is contained in:
1 parent
c9229f36d6
commit
d7445d4fdf
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user