1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

refactored frog_power and a minor fix

This commit is contained in:
Zeno Rogue
2020-02-29 20:45:01 +01:00
parent c390b63e0a
commit 20910ec364
5 changed files with 14 additions and 7 deletions

View File

@@ -263,7 +263,7 @@ EX bool canReachPlayer(cell *cf, eMonster m) {
};
forCellEx(c2, c) {
if(among(m, moFrog, moVaulter, moPhaser)) forCellEx(c3, c2) test(c3);
if(frog_power(m)) forCellEx(c3, c2) test(c3);
test(c2);
}