mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-17 22:52:29 +00:00
update LOS on flashes and lightnings
This commit is contained in:
@@ -464,6 +464,7 @@ bool pcmove::movepcto() {
|
||||
if(checkonly) { nextmovetype = lmInstant; return true; }
|
||||
if(warning_shown || orbProtection(itOrbFlash)) return true;
|
||||
activateFlash();
|
||||
create_los();
|
||||
checkmove(false);
|
||||
return true;
|
||||
}
|
||||
@@ -472,6 +473,7 @@ bool pcmove::movepcto() {
|
||||
if(checkonly) { nextmovetype = lmInstant; return true; }
|
||||
if(warning_shown || orbProtection(itOrbLightning)) return true;
|
||||
activateLightning();
|
||||
create_los();
|
||||
checkmove(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user