mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-20 18:42:34 +00:00
Little bug fixes here and there, should work again..
This commit is contained in:
parent
d356761b93
commit
2afdb1db5f
2 changed files with 19 additions and 17 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue