Fixing compiler warnings

This commit is contained in:
Richard Allen 2012-10-13 18:44:30 +00:00
parent 7e830c5cdb
commit 65a6d95af0
3 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,4 @@
- Spread in automatic weapons should be reduced in 3 burst mode.
- Updated the ioq3 base Reaction is based on to ioq3 svn version 2322
- Scale map lights by 0.66 and sunlight by 0.33 when r_testSunlight 1
- Offset shadowmap samples by surface normal and reenable PCF

View file

@ -549,7 +549,7 @@ Advance the given entity frametime seconds, stepping and sliding as appropriate
void G_PredictPlayerStepSlideMove(gentity_t * ent, float frametime)
{
vec3_t start_o, start_v, down_o, down_v;
vec3_t start_o, start_v; // down_o, down_v;
vec3_t down, up;
trace_t trace;
float stepSize;
@ -562,8 +562,8 @@ void G_PredictPlayerStepSlideMove(gentity_t * ent, float frametime)
return;
}
VectorCopy(ent->s.pos.trBase, down_o);
VectorCopy(ent->s.pos.trDelta, down_v);
// VectorCopy(ent->s.pos.trBase, down_o);
// VectorCopy(ent->s.pos.trDelta, down_v);
VectorCopy(start_o, up);
up[2] += STEPSIZE;

View file

@ -932,7 +932,7 @@ static void CameraSwingThink(gentity_t * ent)
gentity_t *target;
vec3_t forward, right;
trace_t trace;
vec3_t oldgoal;
// vec3_t oldgoal;
vec3_t angles;
vec3_t viewangles;
static vec3_t mins = { -4, -4, -4 };
@ -960,7 +960,7 @@ static void CameraSwingThink(gentity_t * ent)
ent->client->camera->swing_height = SWING_NOMINAL_HEIGHT;
VectorCopy(target->client->ps.origin, ownerv);
VectorCopy(ent->client->ps.origin, oldgoal);
// VectorCopy(ent->client->ps.origin, oldgoal);
VectorCopy(ent->client->camera->swing_last_viewangles, angles);
angles[YAW] += ent->client->camera->swing_angle;