mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-26 11:27:39 +00:00
fixed spurious messages about slashing the Shadow
This commit is contained in:
@@ -1470,7 +1470,7 @@ EX void moveshadow() {
|
|||||||
cshpos = (cshpos+1) % SHSIZE;
|
cshpos = (cshpos+1) % SHSIZE;
|
||||||
for(int p: player_indices()) {
|
for(int p: player_indices()) {
|
||||||
cell* where = shpos[cshpos][p];
|
cell* where = shpos[cshpos][p];
|
||||||
if(sword::at(where)) {
|
if(where && sword::at(where)) {
|
||||||
kill_shadow_at(where);
|
kill_shadow_at(where);
|
||||||
fightmessage(moShadow, moPlayer, false, AF_SWORD_INTO);
|
fightmessage(moShadow, moPlayer, false, AF_SWORD_INTO);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user