Actor improvements p2

This commit is contained in:
mohabhassan 2019-06-29 23:43:30 +02:00
parent da28beeab4
commit 32fddb163f
37 changed files with 718 additions and 710 deletions

View file

@ -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));
}