Skip to content

Commit 599d597

Browse files
committed
Fixes & version bump
1 parent 1c3f7a7 commit 599d597

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Debug.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22
premake5.exe vs2019
33
cd build
4-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat"
4+
call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat"
55
MsBuild PyLoader.sln /property:Configuration=Debug
66
cd ..

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This is a **.asi** plugin that allows writing custom Python scripts for GTA SanA
1313
## Installation
1414

1515
1. You need gta_sa v1.0 US version of the game.
16-
2. Install [Visual C++ Redistributable 2019 x86](https://aka.ms/vs/16/release/vc_redist.x86.exe) and [asi loader](https://www.gtagarage.com/mods/show.php?id=21709)
16+
2. Install [Visual C++ Redistributable 2022 x86](https://aka.ms/vs/17/release/vc_redist.x86.exe) and [asi loader](https://www.gtagarage.com/mods/show.php?id=21709)
1717
3. Download [PyLoader.7z](https://github.com/user-grinch/PyLoaderSA/releases) and extract everything in the game directory.
1818

1919
## Credits

Release.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
2-
premake5.exe vs2019
2+
premake5.exe vs2022
33
cd build
4-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat"
4+
call "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat"
55
MsBuild PyLoader.sln /property:Configuration=Release
66
cd ..

premake5.exe

164 KB
Binary file not shown.

src/pch.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
#include <plugin.h>
1414

15-
constexpr const char* gPluginVer = "0.08";
15+
constexpr const char* gPluginVer = "0.09";
1616
extern size_t gGameTicks;
1717
extern std::ofstream gLog;

src/sdk/PyAddition.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ PyObject* PyAddition::GetLargestGangIdInZone(PyObject* self, PyObject* args)
9999
CVector pos = FindPlayerPed()->GetPosition();
100100
CZone* zone = new CZone();
101101

102-
CZoneExtraInfo* zone_info = CTheZones::GetZoneInfo(&pos, &zone);
102+
CZoneInfo* zone_info = CTheZones::GetZoneInfo(&pos, &zone);
103103
int density = zone_info->m_nGangDensity[i];
104104

105105
if (density > max_density)

0 commit comments

Comments
 (0)