(2.5.3) Fix hand size

This commit is contained in:
nastys
2021-09-04 23:18:23 +02:00
parent eb17a30a06
commit f93dab0b9a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
@@ -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;