aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-03 21:46:05 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-03 21:46:05 +0100
commita90356ca753b0abba557dfda3085d84ffc110162 (patch)
treea2784abfd9d4e3bbc0168005d07dae9f4e26c363
parent4ef8cf8b3d9ad5235aa858a68f70a8aaf2b356da (diff)
downloadgold-mine-run-a90356ca753b0abba557dfda3085d84ffc110162.tar.gz
gold-mine-run-a90356ca753b0abba557dfda3085d84ffc110162.zip
Make the pickup have more priority than the warp
-rw-r--r--src/sound.c2
-rw-r--r--src/sound.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sound.c b/src/sound.c
index 4a608cf..4345ed8 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -17,8 +17,8 @@ static Efx efx[EFX_CNT] =
{
{ NULL, (const char *)binary_gold_efx_start, (size_t)&binary_gold_efx_size},
{ NULL, (const char *)binary_jump_efx_start, (size_t)&binary_jump_efx_size},
- { NULL, (const char *)binary_pickup_efx_start, (size_t)&binary_pickup_efx_size},
{ NULL, (const char *)binary_warp_efx_start, (size_t)&binary_warp_efx_size},
+ { NULL, (const char *)binary_pickup_efx_start, (size_t)&binary_pickup_efx_size},
{ NULL, (const char *)binary_time_efx_start, (size_t)&binary_time_efx_size},
{ NULL, (const char *)binary_hit_efx_start, (size_t)&binary_hit_efx_size},
{ NULL, (const char *)binary_death_efx_start, (size_t)&binary_death_efx_size},
diff --git a/src/sound.h b/src/sound.h
index b51a8ba..be4df88 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -4,8 +4,8 @@
enum {
EFX_GOLD = 0,
EFX_JUMP,
- EFX_PICKUP,
EFX_WARP,
+ EFX_PICKUP,
EFX_TIME,
EFX_HIT,
EFX_DEATH,