In M_CheckGround() use the trace velocity.

I have no clue what this is about. But when in doupt baseq2 is right...
:) This was reported by maraakate in yquake2 issue #160.
This commit is contained in:
Yamagi Burmeister 2016-12-17 11:05:52 +01:00
parent 0e00bb0d9f
commit fe0f0ad86f
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ M_CheckGround(edict_t *ent)
VectorCopy(trace.endpos, ent->s.origin);
ent->groundentity = trace.ent;
ent->groundentity_linkcount = trace.ent->linkcount;
ent->velocity[2] = 0;
ent->velocity[2] = trace.ent->velocity[2];
}
}