Skip to content

Commit

Permalink
fix: remove errors inside of client impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazrius committed Nov 11, 2023
1 parent f40747d commit 8e63970
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 199 deletions.
2 changes: 1 addition & 1 deletion FLHookSDK
4 changes: 2 additions & 2 deletions include/Core/ClientServerInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class IServerImplHook
void* vRet; \
char* tmp; \
memcpy(&tmp, &FLHook::oldClientImpl, 4); \
memcpy(&FLHook::clientImpl, &FLHook::oldClientImpl, 4);
memcpy(&FLHook::hookClientImpl, &FLHook::oldClientImpl, 4);

#define CallClientPostamble \
__asm { mov [vRet], eax} \
Expand All @@ -169,7 +169,7 @@ class IServerImplHook

#define CheckForDisconnect \
{ \
if (ClientInfo::At(client).disconnected) \
if (ClientInfo::At(client).disconnected) \
{ \
Logger::i()->Log(LogLevel::Debug, std::format(L"Ignoring disconnected client in {} id={}", StringUtils::stows(__FUNCTION__), client)); \
return; \
Expand Down
Loading

0 comments on commit 8e63970

Please sign in to comment.