mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
"Merge" V_ParseDamage
This commit is contained in:
parent
7dd400d04a
commit
86ecab4ff7
1 changed files with 1 additions and 3 deletions
|
@ -223,7 +223,7 @@ V_DriftPitch (void)
|
||||||
void
|
void
|
||||||
V_ParseDamage (void)
|
V_ParseDamage (void)
|
||||||
{
|
{
|
||||||
entity_t *ent;
|
entity_t *ent = &cl_entities[cl.viewentity];
|
||||||
float count, side;
|
float count, side;
|
||||||
int armor, blood;
|
int armor, blood;
|
||||||
vec3_t from, forward, right, up;
|
vec3_t from, forward, right, up;
|
||||||
|
@ -261,8 +261,6 @@ V_ParseDamage (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate view angle kicks
|
// calculate view angle kicks
|
||||||
|
|
||||||
ent = &cl_entities[cl.viewentity];
|
|
||||||
VectorSubtract (from, ent->origin, from);
|
VectorSubtract (from, ent->origin, from);
|
||||||
VectorNormalize (from);
|
VectorNormalize (from);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue