aboutsummaryrefslogtreecommitdiff
path: root/src/pickup.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-29 23:19:10 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-29 23:19:10 +0100
commit83cbe80dd9c07ebe767d92d97c1dfe447e264751 (patch)
tree4043eceeb4bda5bfa1edf31d8d95c2b50e242c08 /src/pickup.c
parentb176d3779cbc3d0d02d6651b082cd5011522f7be (diff)
downloadgold-mine-run-83cbe80dd9c07ebe767d92d97c1dfe447e264751.tar.gz
gold-mine-run-83cbe80dd9c07ebe767d92d97c1dfe447e264751.zip
Collect pickups even if invulnerable
Diffstat (limited to 'src/pickup.c')
-rw-r--r--src/pickup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pickup.c b/src/pickup.c
index e1ad424..044e3ef 100644
--- a/src/pickup.c
+++ b/src/pickup.c
@@ -188,7 +188,7 @@ void pickup_update(Entity *e)
}
}
- if (player_collision(e))
+ if (player_collision_pickup(e))
{
switch (e->flags)
{