Skip to content

Commit 0e61f4f

Browse files
committed
Fix compiler warning in multiplayer_sa
1 parent 541ed28 commit 0e61f4f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Client/multiplayer_sa/CMultiplayerSA_ClothesSpeedUp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ bool SetClothingDirectorySize(int directorySize)
339339
#define HOOKSIZE_CClothesBuilder_CopyTexture 5
340340
static constexpr DWORD RETURN_CClothesBuilder_CopyTexture = 0x5A5735;
341341

342-
void _declspec(naked) HOOK_CClothesBuilder_CopyTexture()
342+
static void _declspec(naked) HOOK_CClothesBuilder_CopyTexture()
343343
{
344344
MTA_VERIFY_HOOK_LOCAL_SIZE;
345345

Client/multiplayer_sa/CMultiplayerSA_CrashFixHacks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ static void _declspec(naked) HOOK_CrashFix_VBInstV3dMorphNull()
18841884
#define HOOKCHECK_CrashFix_VBInstWeightsNull 0x8B
18851885
DWORD RETURN_CrashFix_VBInstWeightsNull = 0x752327;
18861886

1887-
void _declspec(naked) HOOK_CrashFix_VBInstWeightsNull()
1887+
static void _declspec(naked) HOOK_CrashFix_VBInstWeightsNull()
18881888
{
18891889
MTA_VERIFY_HOOK_LOCAL_SIZE;
18901890

Client/multiplayer_sa/CMultiplayerSA_ObjectLODSystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ bool IsEntityAccessible(CEntitySAInterface* pEntity)
273273
#define HOOKSIZE_CRenderer_ScanSectorList_EntityCheck 8
274274
DWORD RETURN_CRenderer_ScanSectorList_EntityCheck = 0x554918;
275275
DWORD LOOPBOTTOM_CRenderer_ScanSectorList_EntityCheck = 0x554AD5;
276-
void _declspec(naked) HOOK_CRenderer_ScanSectorList_EntityCheck()
276+
static void _declspec(naked) HOOK_CRenderer_ScanSectorList_EntityCheck()
277277
{
278278
MTA_VERIFY_HOOK_LOCAL_SIZE;
279279

0 commit comments

Comments
 (0)