fixed typos in messsage processing
fixed loadlibrary code fixed game identification in chatter
This commit is contained in:
parent
a27d39a394
commit
730ce7a1d4
5 changed files with 32 additions and 29 deletions
|
|
@ -290,14 +290,14 @@ void Bot::PrepareChatMessage (char *text)
|
|||
}
|
||||
else if (*pattern == 'd')
|
||||
{
|
||||
if (g_gameFlags == GAME_CZERO)
|
||||
if (g_gameFlags & GAME_CZERO)
|
||||
{
|
||||
if (Random.Long (1, 100) < 30)
|
||||
strcat (m_tempStrings, "CZ");
|
||||
else
|
||||
strcat (m_tempStrings, "Condition Zero");
|
||||
}
|
||||
else if (g_gameFlags == GAME_CSTRIKE16 || g_gameFlags == GAME_LEGACY)
|
||||
else if ((g_gameFlags & GAME_CSTRIKE16) || (g_gameFlags & GAME_LEGACY))
|
||||
{
|
||||
if (Random.Long (1, 100) < 30)
|
||||
strcat (m_tempStrings, "CS");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue