aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/CollisionSystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-20 09:49:40 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-20 09:49:40 +0100
commit69ca2bafcd617ac8af1b8f715f0c802205a60ab1 (patch)
tree3992cbd1b5a1d8cd0b94e23920365424f95d66ea /src/crepe/system/CollisionSystem.cpp
parentf8019ae98fc7da1566779a3d567a9f0bbcfd7250 (diff)
fixes
Diffstat (limited to 'src/crepe/system/CollisionSystem.cpp')
-rw-r--r--src/crepe/system/CollisionSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/CollisionSystem.cpp b/src/crepe/system/CollisionSystem.cpp
index e4396b9..3653d10 100644
--- a/src/crepe/system/CollisionSystem.cpp
+++ b/src/crepe/system/CollisionSystem.cpp
@@ -589,5 +589,5 @@ void CollisionSystem::call_collision_events(const CollisionInfo & info) {
CollisionEvent data_inverted(-info);
EventManager & emgr = this->mediator.event_manager;
emgr.trigger_event<CollisionEvent>(data, info.self.transform.game_object_id);
- emgr.trigger_event<CollisionEvent>(data_inverted, -info.self.transform.game_object_id);
+ emgr.trigger_event<CollisionEvent>(data_inverted, info.other.transform.game_object_id);
}