Skip to content

Commit

Permalink
const cube& in shadowray()
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Feb 18, 2025
1 parent ba5df65 commit 405ca22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/world/raycube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ float cubeworld::shadowray(const vec &o, const vec &ray, float radius, int mode,
{
DOWNOCTREE(shadowent, );

cube &c = *lc;
const cube &c = *lc;
ivec lo(x&(~0U<<lshift), y&(~0U<<lshift), z&(~0U<<lshift));

if(!(c.isempty()) && !(c.material&Mat_Alpha))
Expand Down

0 comments on commit 405ca22

Please sign in to comment.