Skip to content

Commit

Permalink
Fix - issue where bucket fill was not working as intended for walls w…
Browse files Browse the repository at this point in the history
…ith base/top above/below 0 respectively
  • Loading branch information
Azmoria committed Jul 4, 2024
1 parent eabca5d commit 4e9dd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fog.js
Original file line number Diff line number Diff line change
Expand Up @@ -4796,7 +4796,7 @@ function particleLook(ctx, walls, lightRadius=100000, fog=false, fogStyle, fogTy
for (let j = 0; j < walls.length; j++) {
let wallTop = walls[j].wallTop && walls[j].wallTop != '' ? parseInt(walls[j].wallTop) : Infinity;
let wallBottom = walls[j].wallBottom && walls[j].wallBottom != '' ? parseInt(walls[j].wallBottom) : -Infinity;
if(tokenElev < wallBottom || tokenElev >= wallTop)
if(auraId != undefined && (tokenElev < wallBottom || tokenElev >= wallTop))
continue;
pt = window.PARTICLE.rays[i].cast(walls[j]);

Expand Down

0 comments on commit 4e9dd8a

Please sign in to comment.