X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=examples%2Fbassteroids%2Fsource%2Fplayfield.cpp;fp=examples%2Fbassteroids%2Fsource%2Fplayfield.cpp;h=49eca3bd0f771250677ef173b03f19cc1e15b62e;hb=a5be9fabc4c8fb153f2176dfce93874d699f32a0;hp=8c6cc6c14009daa9055b36d53b3fd001b78beb17;hpb=e55354bb994276f83592397899bdf77926e8c769;p=libs%2Fgame.git diff --git a/examples/bassteroids/source/playfield.cpp b/examples/bassteroids/source/playfield.cpp index 8c6cc6c..49eca3b 100644 --- a/examples/bassteroids/source/playfield.cpp +++ b/examples/bassteroids/source/playfield.cpp @@ -15,5 +15,5 @@ Playfield::Playfield(Game::Handle p, const Setup &s): Playfield::Border::Border(Playfield &f, LinAl::Vector p, LinAl::Vector s): setup{ .fixture=true, .body={}, .collider={ .type=ColliderType::BOX, .size=s }}, - entity(f, setup, compose(p, 0.0f)) + entity(&f, setup, compose(p, 0.0f)) { }