mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +00:00
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:
parent
0e00bb0d9f
commit
fe0f0ad86f
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue