CBaseMonster/NPC: Tweak what qu/s speed is considered falling
This commit is contained in:
parent
211a28692b
commit
3cc01ca512
2 changed files with 2 additions and 2 deletions
|
@ -466,7 +466,7 @@ CBaseMonster::Physics(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (velocity[2] < -100) {
|
||||
if (!(flags & FL_ONGROUND) && velocity[2] < -415) {
|
||||
if (!(m_iFlags & MSF_FALLING))
|
||||
FallNoise();
|
||||
|
||||
|
|
|
@ -416,7 +416,7 @@ CBaseNPC::Physics(void)
|
|||
SetOrigin(origin);
|
||||
}
|
||||
|
||||
if (velocity[2] < -100) {
|
||||
if (!(flags & FL_ONGROUND) && velocity[2] < -415) {
|
||||
if (!(m_iFlags & MSF_FALLING)) {
|
||||
FallNoise();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue