X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Fflame.hpp;h=ac8a8fc7b4a8b83de10fae00a48d741804d73c67;hb=7a6f00e27bdc0aac2107506c3b00cbf0bf1cccc5;hp=e3cd0aa32aa9e6ce5739cccd161d096d5ff183c1;hpb=07ddaed2a657e4d2a3d038fed223fc5827159caf;p=supertux.git diff --git a/src/badguy/flame.hpp b/src/badguy/flame.hpp index e3cd0aa32..ac8a8fc7b 100644 --- a/src/badguy/flame.hpp +++ b/src/badguy/flame.hpp @@ -16,7 +16,6 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - #ifndef __FLAME_H__ #define __FLAME_H__ @@ -26,7 +25,7 @@ class Flame : public BadGuy { public: Flame(const lisp::Lisp& reader); - ~Flame(); + Flame(const Flame& flame); void activate(); void deactivate(); @@ -40,8 +39,7 @@ private: float radius; float speed; - SoundSource* source; + std::auto_ptr sound_source; }; #endif -