mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +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)
|
||||
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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue