Skip to content

Commit

Permalink
const octaentities* in updatevabb()
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Mar 3, 2025
1 parent d8c5d9d commit 95ef8ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/render/octarender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,12 +592,12 @@ void updatevabb(vtxarray *va, bool force)
va->bbmin.min(child->bbmin);
va->bbmax.max(child->bbmax);
}
for(octaentities *oe : va->mapmodels)
for(const octaentities *oe : va->mapmodels)
{
va->bbmin.min(oe->bbmin);
va->bbmax.max(oe->bbmax);
}
for(octaentities *oe : va->decals)
for(const octaentities *oe : va->decals)
{
va->bbmin.min(oe->bbmin);
va->bbmax.max(oe->bbmax);
Expand Down

0 comments on commit 95ef8ed

Please sign in to comment.