fix build on release
This commit is contained in:
parent
fa75692dd5
commit
7e588f40c5
@ -193,8 +193,8 @@ namespace discord
|
|||||||
discord_presence.startTimestamp = saved_time;
|
discord_presence.startTimestamp = saved_time;
|
||||||
|
|
||||||
//const auto game_initialized = game::client_actives_something[0] == 1; // 196 * client num = resultc
|
//const auto game_initialized = game::client_actives_something[0] == 1; // 196 * client num = resultc
|
||||||
const auto game_initialized = false; // TODO: figure out a way to do this
|
//const auto game_initialized = false; // TODO: figure out a way to do this
|
||||||
if (!game_initialized || game::Com_FrontEndScene_IsActive())
|
if (/*!game_initialized || */game::Com_FrontEndScene_IsActive())
|
||||||
{
|
{
|
||||||
update_discord_frontend();
|
update_discord_frontend();
|
||||||
}
|
}
|
||||||
|
@ -235,12 +235,7 @@ namespace server_list
|
|||||||
|
|
||||||
bool is_server_list_open()
|
bool is_server_list_open()
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
return game::Menu_IsMenuOpenAndVisible(0, "SystemLinkMenu");
|
||||||
return false;
|
|
||||||
#else
|
|
||||||
// TODO
|
|
||||||
return game::Menu_IsMenuOpenAndVisible(0, "menu_systemlink_join");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_scrolling_disabled()
|
bool is_scrolling_disabled()
|
||||||
|
@ -161,6 +161,8 @@ namespace game
|
|||||||
|
|
||||||
WEAK symbol<Material* (const char* material)> Material_RegisterHandle{ 0xE11CE0 };
|
WEAK symbol<Material* (const char* material)> Material_RegisterHandle{ 0xE11CE0 };
|
||||||
|
|
||||||
|
WEAK symbol<bool(int localClientNum, const char* menuName)> Menu_IsMenuOpenAndVisible{ 0x61CA70 };
|
||||||
|
|
||||||
WEAK symbol<void(netadr_s*, sockaddr*)> NetadrToSockadr{ 0xCE6B90 };
|
WEAK symbol<void(netadr_s*, sockaddr*)> NetadrToSockadr{ 0xCE6B90 };
|
||||||
WEAK symbol<void(netsrc_t, netadr_s*, const char*)> NET_OutOfBandPrint{ 0xBB4EE0 };
|
WEAK symbol<void(netsrc_t, netadr_s*, const char*)> NET_OutOfBandPrint{ 0xBB4EE0 };
|
||||||
WEAK symbol<void(netsrc_t sock, int length, const void* data, const netadr_s* to)> NET_SendLoopPacket{ 0xBB50A0 };
|
WEAK symbol<void(netsrc_t sock, int length, const void* data, const netadr_s* to)> NET_SendLoopPacket{ 0xBB50A0 };
|
||||||
|
Loading…
Reference in New Issue
Block a user