X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=examples%2Fbassteroids%2Fsource%2Fphysicalentity.cpp;h=83b3ee2d4f6a427bcae6eb22174c4d2d1cba9352;hb=a5be9fabc4c8fb153f2176dfce93874d699f32a0;hp=85ff0bdea390ad2f31a0a2ab2e1abdf291097680;hpb=e55354bb994276f83592397899bdf77926e8c769;p=libs%2Fgame.git diff --git a/examples/bassteroids/source/physicalentity.cpp b/examples/bassteroids/source/physicalentity.cpp index 85ff0bd..83b3ee2 100644 --- a/examples/bassteroids/source/physicalentity.cpp +++ b/examples/bassteroids/source/physicalentity.cpp @@ -4,8 +4,8 @@ using namespace Msp; PhysicalEntity::PhysicalEntity(Game::Handle p, const Setup &s, const Game::TransformValues &tv): Entity(p, tv), - collider(*this, s.collider) + collider(this, s.collider) { if(!s.fixture) - body = Game::Owned(*this, s.body); + body = Game::Owned(this, s.body); }