aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/shared
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-10-07 13:28:43 +0100
committerGitHub <noreply@github.com>2023-10-07 14:28:43 +0200
commit024605399a4878f97fd789416d9ea4234241f039 (patch)
tree0595fa4df1cf185416bdec4c63c3db106504725a /NorthstarDLL/shared
parentc093ee10f004f7e2b8be2b326a4b087392ded544 (diff)
downloadNorthstarLauncher-024605399a4878f97fd789416d9ea4234241f039.tar.gz
NorthstarLauncher-024605399a4878f97fd789416d9ea4234241f039.zip
Reduce warnings due to calling conventions (#555)v1.19.5-rc1v1.19.5
Fix instances of "anachronism used: modifiers on data are ignored"
Diffstat (limited to 'NorthstarDLL/shared')
-rw-r--r--NorthstarDLL/shared/maxplayers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/shared/maxplayers.cpp b/NorthstarDLL/shared/maxplayers.cpp
index b2a09578..4af8ea1c 100644
--- a/NorthstarDLL/shared/maxplayers.cpp
+++ b/NorthstarDLL/shared/maxplayers.cpp
@@ -282,7 +282,7 @@ void,, (bool a1, float a2))
// clang-format off
AUTOHOOK(SendPropArray2, server.dll + 0x12B130,
-__int64, __fastcall, (__int64 recvProp, int elements, int flags, const char* name, __int64 proxyFn, unsigned char unk1))
+__int64,, (__int64 recvProp, int elements, int flags, const char* name, __int64 proxyFn, unsigned char unk1))
// clang-format on
{
// Change the amount of elements to account for a bigger player amount
@@ -453,7 +453,7 @@ ON_DLL_LOAD("server.dll", MaxPlayersOverride_Server, (CModule module))
// clang-format off
AUTOHOOK(RecvPropArray2, client.dll + 0x1CEDA0,
-__int64, __fastcall, (__int64 recvProp, int elements, int flags, const char* name, __int64 proxyFn))
+__int64,, (__int64 recvProp, int elements, int flags, const char* name, __int64 proxyFn))
// clang-format on
{
// Change the amount of elements to account for a bigger player amount