more fixed for clang warnings
This commit is contained in:
parent
25504279d9
commit
8f48af4314
5 changed files with 10 additions and 11 deletions
|
|
@ -1394,9 +1394,9 @@ void Bot::CommandTeam (void)
|
|||
|
||||
if (memberNear) // has teammates ?
|
||||
{
|
||||
if (m_personality == PERSONALITY_RUSHER && !(yb_communication_type.GetInt () == 2))
|
||||
if (m_personality == PERSONALITY_RUSHER && yb_communication_type.GetInt () == 2)
|
||||
RadioMessage (Radio_StormTheFront);
|
||||
else if (!m_personality == PERSONALITY_RUSHER && !(yb_communication_type.GetInt () == 2))
|
||||
else if (m_personality != PERSONALITY_RUSHER && yb_communication_type.GetInt () == 2)
|
||||
RadioMessage (Radio_Fallback);
|
||||
}
|
||||
else if (memberExists && yb_communication_type.GetInt () == 1)
|
||||
|
|
|
|||
|
|
@ -165,12 +165,10 @@ int BotCommandHandler (edict_t *ent, const char *arg0, const char *arg1, const c
|
|||
"------------------------------------------------\n"
|
||||
"Name: %s\n"
|
||||
"Version: %s (Build: %u)\n"
|
||||
"Compiled by: %s\n"
|
||||
"Compiled: %s, %s +300 (GMT)\n"
|
||||
"Meta-Interface Version: %s\n"
|
||||
"------------------------------------------------";
|
||||
|
||||
ClientPrint (ent, print_console, versionData, PRODUCT_NAME, PRODUCT_VERSION, GenerateBuildNumber (), PRODUCT_AUTHOR, __DATE__, __TIME__, META_INTERFACE_VERSION);
|
||||
ClientPrint (ent, print_console, versionData, PRODUCT_NAME, PRODUCT_VERSION, GenerateBuildNumber (), __DATE__, __TIME__);
|
||||
}
|
||||
|
||||
// display some sort of help information
|
||||
|
|
@ -3074,7 +3072,7 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t
|
|||
{ "csv15", "cs_i386.so", "cs.dylib", "mp.dll", "CS 1.5 for Steam", CSV_OLD },
|
||||
{ "cs13", "cs_i386.so", "cs.dylib", "mp.dll", "Counter-Strike v1.3", CSV_OLD }, // assume cs13 = cs15
|
||||
{ "retrocs", "rcs_i386.so", "cs.dylib", "rcs.dll", "Retro Counter-Strike", CSV_OLD },
|
||||
{"", "", "", "", 0}
|
||||
{"", "", "", "", 0},
|
||||
};
|
||||
|
||||
// get the engine functions from the engine...
|
||||
|
|
|
|||
|
|
@ -1243,7 +1243,7 @@ void AddLogEntry (bool outputToConsole, int logLevel, const char *format, ...)
|
|||
#if defined (PLATFORM_WIN32)
|
||||
MessageBoxA (GetActiveWindow (), buffer, "YaPB Error", MB_ICONSTOP);
|
||||
#else
|
||||
printf (buffer);
|
||||
printf ("%s", buffer);
|
||||
#endif
|
||||
FreeLibraryMemory ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue