mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-30 06:37:57 +03:00
Actor improvements p2
This commit is contained in:
parent
da28beeab4
commit
32fddb163f
37 changed files with 718 additions and 710 deletions
|
@ -4588,7 +4588,7 @@ void Sentient::UpdateFootsteps
|
|||
iTagNum = gi.Tag_NumForName(edict->tiki, "Bip01 R Foot");
|
||||
if (iTagNum >= 0)
|
||||
{
|
||||
m_bFootOnGround_Right = G_TIKI_IsOnGround(edict, iTagNum, 13.653847);
|
||||
m_bFootOnGround_Right = G_TIKI_IsOnGround(edict, iTagNum, 13.653847f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -4600,7 +4600,7 @@ void Sentient::UpdateFootsteps
|
|||
iTagNum = gi.Tag_NumForName(edict->tiki, "Bip01 R Foot");
|
||||
if (iTagNum >= 0)
|
||||
{
|
||||
if (G_TIKI_IsOnGround(edict, iTagNum, 13.461539))
|
||||
if (G_TIKI_IsOnGround(edict, iTagNum, 13.461539f))
|
||||
{
|
||||
BroadcastAIEvent(10, G_AIEventRadius(10));
|
||||
}
|
||||
|
@ -4613,7 +4613,7 @@ void Sentient::UpdateFootsteps
|
|||
iTagNum = gi.Tag_NumForName(edict->tiki, "Bip01 L Foot");
|
||||
if (iTagNum >= 0)
|
||||
{
|
||||
m_bFootOnGround_Left = G_TIKI_IsOnGround(edict, iTagNum, 13.653847);
|
||||
m_bFootOnGround_Left = G_TIKI_IsOnGround(edict, iTagNum, 13.653847f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -4625,7 +4625,7 @@ void Sentient::UpdateFootsteps
|
|||
iTagNum = gi.Tag_NumForName(edict->tiki, "Bip01 R Foot");
|
||||
if (iTagNum >= 0)
|
||||
{
|
||||
if (G_TIKI_IsOnGround(edict, iTagNum, 13.461539))
|
||||
if (G_TIKI_IsOnGround(edict, iTagNum, 13.461539f))
|
||||
{
|
||||
BroadcastAIEvent(10, G_AIEventRadius(10));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue