Remove superfluous check in IGUIElement::recalculateAbsolutePosition (found by cppcheck utility).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4421 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2012-12-31 00:29:25 +00:00
parent 6f3942e544
commit d39f77f0b3
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ protected:
if (NoClip)
{
IGUIElement* p=this;
while (p && p->Parent)
while (p->Parent)
p = p->Parent;
parentAbsoluteClip = p->AbsoluteClippingRect;
}