mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-07 00:45:34 +00:00
Don't convert a vector literal to a pointer to a bool when true will work
This commit is contained in:
parent
442292715e
commit
927a077151
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue