Remove UseScroller; it's a holdover from when ActorScroller was part of

ActorFrame.  Now, if the class is ActorScroller, we always want a scroller.
This commit is contained in:
Glenn Maynard
2005-09-24 23:25:25 +00:00
parent 878c73d3c2
commit b389ded342
-5
View File
@@ -110,11 +110,6 @@ void ActorScroller::LoadFromNode( const CString &sDir, const XNode *pNode )
{
ActorFrame::LoadFromNode( sDir, pNode );
bool bUseScroller = false;
pNode->GetAttrValue( "UseScroller", bUseScroller );
if( !bUseScroller )
return;
#define GET_VALUE( szName, valueOut ) \
if( !pNode->GetAttrValue( szName, valueOut ) ) { \
CString sError = ssprintf("Animation in '%s' is missing the value Scroller::%s", sDir.c_str(), szName); \