CBaseMonster: Fix being able to push monsters around when you're standing on them
This commit is contained in:
parent
3bceff6a2c
commit
f34b78b11c
1 changed files with 2 additions and 1 deletions
|
@ -493,6 +493,7 @@ CBaseMonster::touch(void)
|
|||
return;
|
||||
|
||||
if (other.movetype == MOVETYPE_WALK) {
|
||||
if (other.absmin[2] < origin[2])
|
||||
velocity = normalize(other.origin - origin) * -128;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue