mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-28 23:02:31 +00:00
configure.in: Fix typo preventing detection of vga.h.
source/r_part.c: Clarity fix.
This commit is contained in:
parent
f67e48fb95
commit
f6ec000127
2 changed files with 4 additions and 9 deletions
|
@ -258,7 +258,7 @@ AC_ARG_WITH(svga,
|
||||||
HAVE_SVGA=$withval, HAVE_SVGA=auto)
|
HAVE_SVGA=$withval, HAVE_SVGA=auto)
|
||||||
if test "x$HAVE_SVGA" != xno; then
|
if test "x$HAVE_SVGA" != xno; then
|
||||||
if test "x$HAVE_SVGA" != xauto; 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"
|
SVGA_LIBS="$SVGA_LIBS -L$withval/lib"
|
||||||
dnl The default system location is /usr/include or /usr/local/include
|
dnl The default system location is /usr/include or /usr/local/include
|
||||||
dnl and we (obviously) do not need to set CFLAGS for that
|
dnl and we (obviously) do not need to set CFLAGS for that
|
||||||
|
|
|
@ -482,17 +482,12 @@ void R_DrawParticles (void)
|
||||||
grav = frametime * 800 * 0.05;
|
grav = frametime * 800 * 0.05;
|
||||||
dvel = 4*frametime;
|
dvel = 4*frametime;
|
||||||
|
|
||||||
for ( ;; )
|
for (kill = active_particles; kill != NULL; kill = kill->next) {
|
||||||
{
|
if (kill->die < cl.time) {
|
||||||
kill = active_particles;
|
|
||||||
if (kill && kill->die < cl.time)
|
|
||||||
{
|
|
||||||
active_particles = kill->next;
|
active_particles = kill->next;
|
||||||
kill->next = free_particles;
|
kill->next = free_particles;
|
||||||
free_particles = kill;
|
free_particles = kill;
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (p=active_particles ; p ; p=p->next)
|
for (p=active_particles ; p ; p=p->next)
|
||||||
|
|
Loading…
Reference in a new issue