summary refs log tree commit diff stats
path: root/src/components.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.cpp')
-rw-r--r--src/components.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.cpp b/src/components.cpp index 954ac57..512fbed 100644 --- a/src/components.cpp +++ b/src/components.cpp
@@ -596,7 +596,7 @@ bool MapCollisionComponent::processCollision(Game& game, Entity& collider, Colli
596 collider.send(game, msg); 596 collider.send(game, msg);
597 } else if (collision.type == Collision::Type::danger) 597 } else if (collision.type == Collision::Type::danger)
598 { 598 {
599 game.playerDie(collider, map); 599 game.playerDie();
600 } 600 }
601 601
602 return false; 602 return false;