Little bug fixes here and there, should work again..

This commit is contained in:
Zephaniah E. Hull 2000-02-20 20:49:36 +00:00
parent d356761b93
commit 2afdb1db5f
2 changed files with 19 additions and 17 deletions

View file

@ -522,7 +522,7 @@ fi
dnl We want warnings, lots of warnings...
if test "x$GCC" = xyes; then
CFLAGS="$CFLAGS -Wall -Werror -pg"
CFLAGS="$CFLAGS -Wall -Werror"
fi
# CFLAGS="$CFLAGS -Wall -pedantic"

View file

@ -420,25 +420,27 @@ void R_RocketTrail (vec3_t start, vec3_t end, int type)
break;
case 3:
case 5:
// tracer
static int tracercount;
{
// tracer
static int tracercount;
p->die = cl.time + 0.5;
p->type = pt_static;
if (type == 3)
p->color = 52 + ((tracercount&4)<<1);
else
p->color = 230 + ((tracercount&4)<<1);
p->die = cl.time + 0.5;
p->type = pt_static;
if (type == 3)
p->color = 52 + ((tracercount&4)<<1);
else
p->color = 230 + ((tracercount&4)<<1);
tracercount++;
tracercount++;
VectorCopy (start, p->org);
if (tracercount & 1) {
p->vel[0] = 30*vec[1];
p->vel[1] = 30*-vec[0];
} else {
p->vel[0] = 30*-vec[1];
p->vel[1] = 30*vec[0];
VectorCopy (start, p->org);
if (tracercount & 1) {
p->vel[0] = 30*vec[1];
p->vel[1] = 30*-vec[0];
} else {
p->vel[0] = 30*-vec[1];
p->vel[1] = 30*vec[0];
}
}
break;