From 3e54cc37e3ab0ef7418878e9c87dc8ddbd3fb3f2 Mon Sep 17 00:00:00 2001 From: Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:21:46 -0500 Subject: [PATCH] fixed the one fpr swap preventing link (#99) --- configure.py | 2 +- src/REL/d/t/d_t_gekotag.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.py b/configure.py index dfda1e14..c2a21ea9 100644 --- a/configure.py +++ b/configure.py @@ -1804,7 +1804,7 @@ config.libs = [ Rel(Matching, "d_t_fairytag", "REL/d/t/d_t_fairytag.cpp"), Rel(NonMatching, "d_t_fence_synchronizer", "REL/d/t/d_t_fence_synchronizer.cpp"), Rel(NonMatching, "d_t_gate_to_ground", "REL/d/t/d_t_gate_to_ground.cpp"), - Rel(NonMatching, "d_t_gekotag", "REL/d/t/d_t_gekotag.cpp"), + Rel(Matching, "d_t_gekotag", "REL/d/t/d_t_gekotag.cpp"), Rel(Matching, "d_t_genki_dws_tgt", "REL/d/t/d_t_genki_dws_tgt.cpp"), Rel(NonMatching, "d_t_group_summon", "REL/d/t/d_t_group_summon.cpp"), Rel(NonMatching, "d_t_group_test", "REL/d/t/d_t_group_test.cpp"), diff --git a/src/REL/d/t/d_t_gekotag.cpp b/src/REL/d/t/d_t_gekotag.cpp index 0d18f69d..ed714cda 100644 --- a/src/REL/d/t/d_t_gekotag.cpp +++ b/src/REL/d/t/d_t_gekotag.cpp @@ -25,9 +25,10 @@ int dTgGekoTag::create() { mRefs[i].unlink(); } - // Regswaps mNoSpawnRadius = getNoSpawnRadius(); - if (!mNoSpawnRadius) { + + f32 rad = mNoSpawnRadius; + if (!rad) { mNoSpawnRadius = 100.0f; }