]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/animate.cpp
Fix initialization issues in the Animate action
[libs/demoscene.git] / source / animate.cpp
index c7eed389dd917e6436ca685c5a74ff84cad723dc..a7e406d73ae80c3428b5fe91d214820dffc645bf 100644 (file)
@@ -8,14 +8,17 @@ namespace DemoScene {
 
 Animate::Animate():
        target(0),
+       target_obj(0),
        anim(0),
        stacked(false),
        player(0)
 { }
 
-Animate::Animate(GL::Placeable &t, const GL::Animation &a, GL::AnimationPlayer &p):
+Animate::Animate(GL::Placeable &t, const GL::Animation &a, GL::AnimationPlayer &p, bool s):
        target(&t),
+       target_obj(0),
        anim(&a),
+       stacked(s),
        player(&p)
 { }