fixed cs16-client+xash3d on non-android platforms compatability
disables debug information for release builds
This commit is contained in:
parent
e65cb3a6c2
commit
0bde57897e
3 changed files with 10 additions and 3 deletions
|
|
@ -224,7 +224,7 @@
|
|||
<OutputFile>.\release\yapb.dll</OutputFile>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
<DelayLoadDLLs>user32.dll;ws2_32.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
<GenerateDebugInformation>Debug</GenerateDebugInformation>
|
||||
<GenerateDebugInformation>No</GenerateDebugInformation>
|
||||
<GenerateMapFile>false</GenerateMapFile>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>false</OptimizeReferences>
|
||||
|
|
|
|||
|
|
@ -1267,8 +1267,6 @@ void Bot::Kick (void)
|
|||
ServerCommand ("kick \"%s\"", STRING (pev->netname));
|
||||
CenterPrint ("Bot '%s' kicked", STRING (pev->netname));
|
||||
|
||||
pev->flags |= FL_KILLME;
|
||||
|
||||
int newBotsNum = bots.GetBotsNum () - 1;
|
||||
|
||||
// keep quota number up to date
|
||||
|
|
|
|||
|
|
@ -1050,6 +1050,15 @@ void DetectCSVersion (void)
|
|||
if (g_gameVersion == CSV_OLD || g_gameVersion == CSV_CZERO)
|
||||
return;
|
||||
|
||||
// detect xash engine
|
||||
if (g_engfuncs.pfnCVarGetPointer ("build") != NULL)
|
||||
{
|
||||
AddLogEntry (true, LL_DEFAULT, "Detected Xash3D Engine. Setting game version to old.");
|
||||
g_gameVersion = CSV_OLD;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// counter-strike 1.6 or higher (plus detects for non-steam versions of 1.5)
|
||||
byte *detection = (*g_engfuncs.pfnLoadFileForMe) ("events/galil.sc", NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue