From 69ca2bafcd617ac8af1b8f715f0c802205a60ab1 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Fri, 20 Dec 2024 09:49:40 +0100 Subject: fixes --- src/crepe/system/CollisionSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/system/CollisionSystem.cpp') 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(data, info.self.transform.game_object_id); - emgr.trigger_event(data_inverted, -info.self.transform.game_object_id); + emgr.trigger_event(data_inverted, info.other.transform.game_object_id); } -- cgit v1.2.3