mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
Fix crash with flat api.
This commit is contained in:
parent
a0e558ed4c
commit
a8c03fe8cd
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ ISteamGameServer *Steam_Client::GetISteamGameServer( HSteamUser hSteamUser, HSte
|
||||||
} else if (strcmp(pchVersion, "SteamGameServer012") == 0) {
|
} else if (strcmp(pchVersion, "SteamGameServer012") == 0) {
|
||||||
return (ISteamGameServer *)(void *)(ISteamGameServer012 *)steam_gameserver;
|
return (ISteamGameServer *)(void *)(ISteamGameServer012 *)steam_gameserver;
|
||||||
} else if (strcmp(pchVersion, "SteamGameServer013") == 0) {
|
} else if (strcmp(pchVersion, "SteamGameServer013") == 0) {
|
||||||
|
gameserver_has_ipv6_functions = true;
|
||||||
return (ISteamGameServer *)(void *)(ISteamGameServer013 *)steam_gameserver;
|
return (ISteamGameServer *)(void *)(ISteamGameServer013 *)steam_gameserver;
|
||||||
} else if (strcmp(pchVersion, STEAMGAMESERVER_INTERFACE_VERSION) == 0) {
|
} else if (strcmp(pchVersion, STEAMGAMESERVER_INTERFACE_VERSION) == 0) {
|
||||||
gameserver_has_ipv6_functions = true;
|
gameserver_has_ipv6_functions = true;
|
||||||
|
|
Loading…
Reference in a new issue