1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-01 01:49:03 +00:00

fixed the generation range for Strong Wind and jump orb effects in alternate tilings

This commit is contained in:
Zeno Rogue
2025-12-17 23:24:54 +01:00
parent 6d7f899229
commit d3ee93c96e

View File

@@ -775,7 +775,8 @@ EX bool jumpTo(orbAction a, cell *dest, eItem byWhat, int bonuskill, jumpdata jd
fix_whichcopy(dest);
countLocalTreasure();
for(int i=9; i>=0; i--)
int low = 7 - getDistLimit() - genrange_bonus;
for(int i=9; i>=low; i--)
setdist(cwt.at, i, NULL);
if(from) movecost(from, dest, 2);