mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
biscuit didn't copy my code correctly 😢
This commit is contained in:
parent
40f77ffd70
commit
7a64e5f33f
2 changed files with 4 additions and 3 deletions
|
@ -192,9 +192,10 @@ Core::Common::OnlineStatus Core::Entity::Player::getOnlineStatus()
|
|||
// todo: also check that the status can actually be set here, otherwise we need to ignore it (and ban the player obv)
|
||||
statusDisplayOrder = pOnlineStatus->priority;
|
||||
applicableStatus = i;
|
||||
return static_cast< OnlineStatus >( applicableStatus );
|
||||
}
|
||||
}
|
||||
|
||||
return static_cast< OnlineStatus >( applicableStatus );
|
||||
}
|
||||
|
||||
void Core::Entity::Player::setOnlineStatusMask( uint64_t status )
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
|
||||
#include <winbase.h>
|
||||
typedef HMODULE ModuleHandle;
|
||||
using ModuleHandle = HMODULE;
|
||||
#else
|
||||
#include <dlfcn.h>
|
||||
typedef void* ModuleHandle;
|
||||
using ModuleHandle = void*;
|
||||
#endif
|
||||
|
||||
namespace Core {
|
||||
|
|
Loading…
Add table
Reference in a new issue