diff options
author | Alec Thomas <alec@swapoff.org> | 2014-12-15 10:00:48 +1100 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2014-12-15 10:00:48 +1100 |
commit | b12246386b724c08d5d67322bb9138d1e79d12ca (patch) | |
tree | 0d4e724de293b48e9dea9826ff166a266b70c2a3 | |
parent | 8a5dc45b955199bc9b0f38ab0f7bad0a8810e196 (diff) | |
parent | cf472895b2f3a81812f84c0d2073e4b750652a74 (diff) |
Merge pull request #72 from eco/patch-1
Don't use dereference operator in events example
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ class CollisionSystem : public System<CollisionSystem> { for (Entity left_entity : es.entities_with_components(left_position)) { for (Entity right_entity : es.entities_with_components(right_position)) { if (collide(left_position, right_position)) { - events->emit<Collision>(left_entity, right_entity); + events.emit<Collision>(left_entity, right_entity); } } } |