replaced UNUSED and assert combination by a fixed up assert macro - thanks luis! :)

This commit is contained in:
Thomas Fischer 2014-03-15 12:50:38 +01:00
parent 2844ab6912
commit 489106ae5e
19 changed files with 3 additions and 26 deletions

View file

@ -350,8 +350,6 @@ bool GuiSplitContainer::resize( const Point2I &newPosition, const Point2I &newEx
GuiContainer *panelTwo = dynamic_cast<GuiContainer*>( at(1) );
//
TORQUE_UNUSED(panelOne);
TORQUE_UNUSED(panelTwo);
AssertFatal( panelOne && panelTwo, "GuiSplitContainer::resize - Missing/Invalid Subordinate Controls! Split contained controls must derive from GuiContainer!" );
// We only need to update the split point if our second panel is fixed.