Commit c6c974f3 authored by cutealien's avatar cutealien

Remove superfluous parantheses (causing warnings in clang).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4765 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 465e8bbf
...@@ -94,7 +94,7 @@ void CAnimatedMeshSceneNode::buildFrameNr(u32 timeMs) ...@@ -94,7 +94,7 @@ void CAnimatedMeshSceneNode::buildFrameNr(u32 timeMs)
} }
} }
if ((StartFrame==EndFrame)) if (StartFrame==EndFrame)
{ {
CurrentFrameNr = (f32)StartFrame; //Support for non animated meshes CurrentFrameNr = (f32)StartFrame; //Support for non animated meshes
} }
...@@ -1099,7 +1099,7 @@ ISceneNode* CAnimatedMeshSceneNode::clone(ISceneNode* newParent, ISceneManager* ...@@ -1099,7 +1099,7 @@ ISceneNode* CAnimatedMeshSceneNode::clone(ISceneNode* newParent, ISceneManager*
newNode->ReadOnlyMaterials = ReadOnlyMaterials; newNode->ReadOnlyMaterials = ReadOnlyMaterials;
newNode->LoopCallBack = LoopCallBack; newNode->LoopCallBack = LoopCallBack;
if (newNode->LoopCallBack) if (newNode->LoopCallBack)
newNode->LoopCallBack->grab(); newNode->LoopCallBack->grab();
newNode->PassCount = PassCount; newNode->PassCount = PassCount;
newNode->Shadow = Shadow; newNode->Shadow = Shadow;
if (newNode->Shadow) if (newNode->Shadow)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment