X-Git-Url: https://git.octo.it/?p=supertux.git;a=blobdiff_plain;f=src%2Fbadguy%2Fghosttree.cpp;h=b7b4bd6ab40cf3dca00e3fdee9a887dc1172dac6;hp=088d73bd15b58637210e8032668f04b9368b543e;hb=eb9172b9d625b0c333d7ad406433d5d14129a2e6;hpb=1f813f3b4ca1af669c7183f25af902de7205dd65 diff --git a/src/badguy/ghosttree.cpp b/src/badguy/ghosttree.cpp index 088d73bd1..b7b4bd6ab 100644 --- a/src/badguy/ghosttree.cpp +++ b/src/badguy/ghosttree.cpp @@ -44,7 +44,7 @@ GhostTree::GhostTree(const Reader& lisp) : willo_radius(200), willo_speed(1.8f), willo_color(0), - glow_sprite(), + glow_sprite(SpriteManager::current()->create("images/creatures/ghosttree/ghosttree-glow.sprite")), colorchange_timer(), suck_timer(), root_timer(), @@ -53,7 +53,6 @@ GhostTree::GhostTree(const Reader& lisp) : suck_lantern(0), willowisps() { - glow_sprite = SpriteManager::current()->create("images/creatures/ghosttree/ghosttree-glow.sprite"); set_colgroup_active(COLGROUP_TOUCHABLE); SoundManager::current()->preload("sounds/tree_howling.ogg"); SoundManager::current()->preload("sounds/tree_suck.ogg");