mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 10:24:26 +00:00
update LOS on flashes and lightnings
This commit is contained in:
1 parent
3fb49b61da
commit
3ba6d631f6
1 file changed
+2
@@ -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