diff --git a/indra/newview/llfloaterpathfindingcharacters.cpp b/indra/newview/llfloaterpathfindingcharacters.cpp index ac84b31678..0df0e3c9ec 100644 --- a/indra/newview/llfloaterpathfindingcharacters.cpp +++ b/indra/newview/llfloaterpathfindingcharacters.cpp @@ -283,10 +283,10 @@ void LLFloaterPathfindingCharacters::showCapsule() const llassert(mSelectedCharacterId == character->getUUID()); if (LLPathingLib::getInstance() != NULL) { - // Interface in Nicky's physics stub package expects bool while Havok package still expects BOOL + // Interface in Nicky's physics stub package expects bool while Havok package still expects BOOL aka S32 #ifdef HAVOK_TPV LLPathingLib::getInstance()->createPhysicsCapsuleRep(character->getLength(), character->getRadius(), - (BOOL)character->isHorizontal(), character->getUUID()); + static_cast(character->isHorizontal()), character->getUUID()); #else LLPathingLib::getInstance()->createPhysicsCapsuleRep(character->getLength(), character->getRadius(), character->isHorizontal(), character->getUUID());