Skip to content

Commit f78649c

Browse files
committed
const qualify cube* in render
1 parent 596c5a4 commit f78649c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game/render.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ namespace game
929929
}
930930
}
931931
}
932-
cube *c = &rootworld.lookupcube(ivec(w));
932+
const cube *c = &rootworld.lookupcube(ivec(w));
933933
if(gridlookup && !dragging && !moving && !havesel && hmapedit!=1)
934934
{
935935
gridsize = lusize;

0 commit comments

Comments
 (0)