some optimizations
This commit is contained in:
parent
873e389271
commit
1fa0acf472
17 changed files with 146 additions and 130 deletions
|
|
@ -213,7 +213,7 @@ void Bot::PrepareChatMessage (char *text)
|
|||
// chat reply?
|
||||
else if (*pattern == 's')
|
||||
{
|
||||
talkEntity = INDEXENT (m_sayTextBuffer.entityIndex);
|
||||
talkEntity = EntityOfIndex (m_sayTextBuffer.entityIndex);
|
||||
|
||||
if (!FNullEnt (talkEntity))
|
||||
strcat (m_tempStrings, HumanizeName (const_cast <char *> (STRING (talkEntity->v.netname))));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue