Skip to content

Commit

Permalink
Fix detection of non-collidable surfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
brainiac committed Feb 2, 2023
1 parent bfcada8 commit 1ea4c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshgen/MapGeometryLoader.cpp
Expand Up @@ -243,7 +243,7 @@ bool MapGeometryLoader::load()

auto isVisible = [](int flags)
{
return !(flags == 0x01 || flags == 0x10 || flags == 0x11);
return !((flags & 0x01) || (flags & 0x10));
};

// Load models
Expand Down

0 comments on commit 1ea4c5f

Please sign in to comment.