fix: crash with hl25 structs on xash3d again
fix: %t placeholder should return damage inflictor when used in team attack section of chat fix: all arguments in bot commands are lowercased (resolves #680) bot: disable threads when engine's timescale is active bot: a little refactor for the code all over the places linkage: resolved crash due to sse alignment on ancient engines (resolves #614) utils move wave parse into crlib practice: move loading practice to thread pool build: allow to build with static linkents instead of hooking dlsym Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
parent
24be4479de
commit
38c45aff9a
37 changed files with 348 additions and 304 deletions
|
|
@ -331,7 +331,7 @@ void Bot::spraypaint_ () {
|
|||
|
||||
if (getTask ()->time - 0.5f < game.time ()) {
|
||||
// emit spray can sound
|
||||
engfuncs.pfnEmitSound (pev->pContainingEntity, CHAN_VOICE, "player/sprayer.wav", 1.0f, ATTN_NORM, 0, 100);
|
||||
engfuncs.pfnEmitSound (ent (), CHAN_VOICE, "player/sprayer.wav", 1.0f, ATTN_NORM, 0, 100);
|
||||
|
||||
game.testLine (getEyesPos (), getEyesPos () + forward * 128.0f, TraceIgnore::Monsters, ent (), &tr);
|
||||
|
||||
|
|
@ -594,7 +594,7 @@ void Bot::blind_ () {
|
|||
m_blindNodeIndex = kInvalidNodeIndex;
|
||||
|
||||
m_blindMoveSpeed = 0.0f;
|
||||
m_blindSidemoveSpeed = 0.0f;
|
||||
m_blindSideMoveSpeed = 0.0f;
|
||||
m_blindButton = 0;
|
||||
|
||||
m_states |= Sense::SuspectEnemy;
|
||||
|
|
@ -610,7 +610,7 @@ void Bot::blind_ () {
|
|||
}
|
||||
else {
|
||||
m_moveSpeed = m_blindMoveSpeed;
|
||||
m_strafeSpeed = m_blindSidemoveSpeed;
|
||||
m_strafeSpeed = m_blindSideMoveSpeed;
|
||||
pev->button |= m_blindButton;
|
||||
|
||||
m_states |= Sense::SuspectEnemy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue