1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-07 03:45:33 +00:00

Don't convert a vector literal to a pointer to a bool when true will work

This commit is contained in:
AnyOldName3 2020-12-09 22:45:46 +00:00
parent 442292715e
commit 927a077151

View file

@ -15,7 +15,7 @@ namespace
struct DetourNavigatorRecastMeshObjectTest : Test
{
btBoxShape mBoxShape {btVector3(1, 2, 3)};
btCompoundShape mCompoundShape {static_cast<bool>(btVector3(1, 2, 3))};
btCompoundShape mCompoundShape {true};
btTransform mTransform {btQuaternion(btVector3(1, 2, 3), 1), btVector3(1, 2, 3)};
DetourNavigatorRecastMeshObjectTest()