Skip to content

Commit

Permalink
fixing clang compiler warings
Browse files Browse the repository at this point in the history
  • Loading branch information
Katana-Steel committed Apr 19, 2018
1 parent 3bf2503 commit 77cdbb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NOLF2/ClientShellDLL/ClientShellShared/DebrisFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ LTBOOL CDebrisFX::Update()
LTBOOL bRemove = LTFALSE;
LTBOOL bBounced = LTFALSE;
LTBOOL bBouncedOnGround = LTFALSE;
if (bBounced = UpdateEmitter(&(pTracker->m_Emitter), bRemove, bBouncedOnGround))
if ((bBounced = UpdateEmitter(&(pTracker->m_Emitter), bRemove, bBouncedOnGround)))
{
if (bBouncedOnGround)
{
Expand Down
2 changes: 1 addition & 1 deletion NOLF2/ObjectDLL/ObjectShared/AICentralKnowledgeMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ void CAICentralKnowledgeMgr::OnLinkBroken( LTObjRefNotifier *pRef, HOBJECT hObj
it->second->m_pAI = LTNULL;
}

if( &it->second->m_hKnowledgeTarget != nullptr)
if( &(it->second->m_hKnowledgeTarget) != nullptr)
{
it->second->m_pKnowledgeTarget = LTNULL;
}
Expand Down

0 comments on commit 77cdbb7

Please sign in to comment.