Skip to content

Commit

Permalink
size_t indices in ENT_INTERSECT
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Feb 13, 2025
1 parent 5dd0e11 commit bc8c371
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 @@ -156,7 +156,7 @@ namespace
const std::vector<extentity *> &ents = entities::getents();
//=======ENT_SEL_INTERSECT ENT_INTERSECT
#define ENT_INTERSECT(type, func) do { \
for(uint i = 0; i < oc->type.size(); i++) \
for(size_t i = 0; i < oc->type.size(); i++) \
{ \
extentity &e = *ents[oc->type[i]]; \
if(!(e.flags&EntFlag_Octa) || &e==t) \
Expand Down

0 comments on commit bc8c371

Please sign in to comment.