mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-26 14:10:55 +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
f893d5f8d0
commit
89d48af99d
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,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