[Steam] Add -nosteam flag

This commit is contained in:
momo5502 2017-01-22 03:06:33 +01:00
parent b6a12329b0
commit 8807d31221

View File

@ -70,7 +70,10 @@ namespace Steam
bool SteamAPI_Init() bool SteamAPI_Init()
{ {
#ifndef DISABLE_STEAM_GAME #ifndef DISABLE_STEAM_GAME
if (!Flags::HasFlag("-nosteam"))
{
Proxy::SetGame(10190); Proxy::SetGame(10190);
}
#endif #endif
if (!Proxy::Inititalize()) if (!Proxy::Inititalize())
@ -80,7 +83,10 @@ namespace Steam
else else
{ {
#ifndef DISABLE_STEAM_GAME #ifndef DISABLE_STEAM_GAME
if (!Flags::HasFlag("-nosteam"))
{
Proxy::SetMod("IW4x - Modern Warfare 2"); Proxy::SetMod("IW4x - Modern Warfare 2");
}
#endif #endif
} }