diff --git a/src/hook.cpp b/src/hook.cpp index c2467be..da90dc0 100644 --- a/src/hook.cpp +++ b/src/hook.cpp @@ -157,9 +157,9 @@ void Hook::ShowMouse(bool state) { // Disable player controls for controllers bool bMouseDisabled = false; - bool isController = patch::Get(BY_GAME(0x5F03D8, 0x86968B, 0xBA6818)); + bool isController = patch::Get(BY_GAME(0xBA6818, 0x86968B, 0x5F03D8)); -#ifdef GTASA +#ifdef GTA3 isController = !isController; #endif diff --git a/src/ped.cpp b/src/ped.cpp index 4cf20a8..1885092 100644 --- a/src/ped.cpp +++ b/src/ped.cpp @@ -100,7 +100,7 @@ void Ped::SpawnPed(std::string& cat, std::string& name, std::string& model) // SA has 10 slots ++currentSlot; - if (currentSlot > 10) + if (currentSlot > 9) { currentSlot = 1; }