]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/bullet.cpp
Change Owned's constructor to take a pointer to the parent
[libs/game.git] / examples / bassteroids / source / bullet.cpp
index e26b4089b05763443a92b694e1a74eb5cb48418a..f1bc56bad41143a2f70c2bc7840c6631a1388912 100644 (file)
@@ -4,5 +4,5 @@ using namespace Msp;
 
 Bullet::Bullet(Game::Handle<Game::Entity> p, const Setup &s, const Game::TransformValues &tv):
        Hittable(p, s.hittable, s.physical, tv),
-       mesh(*this, s.mesh)
+       mesh(this, s.mesh)
 { }