From f93dab0b9aec00b0c54e484436a3758c926286f4 Mon Sep 17 00:00:00 2001 From: nastys <@> Date: Sat, 4 Sep 2021 23:18:23 +0200 Subject: [PATCH] (2.5.3) Fix hand size --- source-code/source/plugins/Launcher/ui.h | 2 +- source-code/source/plugins/Patches/PatchApplier710.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source-code/source/plugins/Launcher/ui.h b/source-code/source/plugins/Launcher/ui.h index 0605345..cddaf98 100644 --- a/source-code/source/plugins/Launcher/ui.h +++ b/source-code/source/plugins/Launcher/ui.h @@ -787,7 +787,7 @@ private: System::Windows::Forms::Button^ button_Wiki; this->MaximizeBox = false; this->Name = L"ui"; this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen; - this->Text = L"PD Launcher (2.5.2)"; + this->Text = L"PD Launcher (2.5.3)"; this->TransparencyKey = System::Drawing::Color::Magenta; this->FormClosing += gcnew System::Windows::Forms::FormClosingEventHandler(this, &ui::Ui_FormClosing); this->FormClosed += gcnew System::Windows::Forms::FormClosedEventHandler(this, &ui::Ui_FormClosed); diff --git a/source-code/source/plugins/Patches/PatchApplier710.h b/source-code/source/plugins/Patches/PatchApplier710.h index 549736c..be4ff4d 100644 --- a/source-code/source/plugins/Patches/PatchApplier710.h +++ b/source-code/source/plugins/Patches/PatchApplier710.h @@ -369,7 +369,7 @@ class PatchApplier710 : public PatchApplier { InjectCode((void*)0x0000000140120709, { 0xE9, 0x82, 0x0A, 0x00 }); } // Default hand size - if (nDefaultHandSize > 0) + if (nDefaultHandSize != -1 && nDefaultHandSize != 0) { printf("[Patches] Changing default hand size...\n"); const float num = (float)nDefaultHandSize / 10000.0;