diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:51:18 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:51:18 +0200 |
commit | 24b8c7819c52ed09dd46d1a453dbaffd86b9e699 (patch) | |
tree | 54236602fd5bb48eea2b95ab5ccfc77d4080d3c0 /src/control/Gangs.cpp | |
parent | fix (diff) | |
parent | Merge pull request #365 from Fire-Head/master (diff) | |
download | re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.gz re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.bz2 re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.lz re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.xz re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.zst re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Gangs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Gangs.cpp b/src/control/Gangs.cpp index 340fe0f6..ac32ad98 100644 --- a/src/control/Gangs.cpp +++ b/src/control/Gangs.cpp @@ -14,7 +14,7 @@ CGangInfo::CGangInfo() : m_Weapon2(WEAPONTYPE_UNARMED) {} -void CGangs::Initialize(void) +void CGangs::Initialise(void) { Gang[GANG_MAFIA].m_nVehicleMI = MI_MAFIA; Gang[GANG_TRIAD].m_nVehicleMI = MI_BELLYUP; @@ -67,7 +67,7 @@ VALIDATESAVEBUF(*size); void CGangs::LoadAllGangData(uint8 *buf, uint32 size) { - Initialize();
+ Initialise();
INITSAVEBUF
// original: SkipSaveBuf(buf, SAVE_HEADER_SIZE);
@@ -79,7 +79,7 @@ VALIDATESAVEBUF(size); } STARTPATCHES - InjectHook(0x4C3FB0, CGangs::Initialize, PATCH_JUMP); + InjectHook(0x4C3FB0, CGangs::Initialise, PATCH_JUMP); InjectHook(0x4C4010, CGangs::SetGangVehicleModel, PATCH_JUMP); InjectHook(0x4C4030, CGangs::SetGangWeapons, PATCH_JUMP); InjectHook(0x4C4050, CGangs::SetGangPedModelOverride, PATCH_JUMP); |