diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-29 23:19:10 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-29 23:19:10 +0100 |
commit | 83cbe80dd9c07ebe767d92d97c1dfe447e264751 (patch) | |
tree | 4043eceeb4bda5bfa1edf31d8d95c2b50e242c08 /src/pickup.c | |
parent | b176d3779cbc3d0d02d6651b082cd5011522f7be (diff) | |
download | gold-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.c | 2 |
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) { |