configure.in: Fix typo preventing detection of vga.h.

source/r_part.c: Clarity fix.
This commit is contained in:
Jeff Teunissen 2000-06-24 22:28:06 +00:00
parent f67e48fb95
commit f6ec000127
2 changed files with 4 additions and 9 deletions

View file

@ -258,7 +258,7 @@ AC_ARG_WITH(svga,
HAVE_SVGA=$withval, HAVE_SVGA=auto)
if test "x$HAVE_SVGA" != xno; then
if test "x$HAVE_SVGA" != xauto; then
SVGA_CFLAGS="$SVGA_CFLAGS= -I$withval/include"
SVGA_CFLAGS="$SVGA_CFLAGS -I$withval/include"
SVGA_LIBS="$SVGA_LIBS -L$withval/lib"
dnl The default system location is /usr/include or /usr/local/include
dnl and we (obviously) do not need to set CFLAGS for that

View file

@ -482,17 +482,12 @@ void R_DrawParticles (void)
grav = frametime * 800 * 0.05;
dvel = 4*frametime;
for ( ;; )
{
kill = active_particles;
if (kill && kill->die < cl.time)
{
for (kill = active_particles; kill != NULL; kill = kill->next) {
if (kill->die < cl.time) {
active_particles = kill->next;
kill->next = free_particles;
free_particles = kill;
continue;
}
break;
}
for (p=active_particles ; p ; p=p->next)