From e2be11a2da7fefdf00cac9ec72f8edb37122855a Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sun, 12 Jan 2025 21:47:11 -0800 Subject: [PATCH] fix order of magnitude error in XP logic --- vacuum_gambit.p8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8 index 383f6b1..e3a31af 100644 --- a/vacuum_gambit.p8 +++ b/vacuum_gambit.p8 @@ -494,8 +494,8 @@ function ship_m:die() if xp > 0x0.01f3 then -- dec 499 -- spawn a huge gem with all -- overage XP, min 100 - spawn_xp_at(cx, cy, 0, xp-0x0.18f) - xp = 0x0.18f -- dec 399 + spawn_xp_at(cx, cy, 0, xp-0x0.018f) + xp = 0x0.018f -- dec 399 z += 1 end -- 100, 25, 5, 1