Fixed ScrollingList parent class copy constructor execution.

This commit is contained in:
emb 2015-02-19 16:29:07 -06:00
parent af451bfa81
commit 90484cf90a

View File

@ -72,7 +72,8 @@ ScrollingList::ScrollingList(Configuration &c,
} }
ScrollingList::ScrollingList(const ScrollingList &copy) ScrollingList::ScrollingList(const ScrollingList &copy)
: SpriteList(NULL) : Component(copy)
, SpriteList(NULL)
, TweenEnterTime(0) , TweenEnterTime(0)
, FirstSpriteIndex(0) , FirstSpriteIndex(0)
, SelectedSpriteListIndex(0) , SelectedSpriteListIndex(0)
@ -116,8 +117,6 @@ ScrollingList::ScrollingList(const ScrollingList &copy)
TweenPoints->push_back(v); TweenPoints->push_back(v);
} }
} }
Component::Component(copy);
} }