]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Tomaz cleaned up some double ;; lines (strange stuff)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 May 2004 19:29:04 +0000 (19:29 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 May 2004 19:29:04 +0000 (19:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4203 d7cf8633-e32d-0410-b094-e92efae38249

curves.c
model_brush.c
snd_win.c

index a94dc71c85779fb8f5fabde15a62868c82833039..835be2cc9270a88f85ffcc644f69ac5d94c7f6ac 100644 (file)
--- a/curves.c
+++ b/curves.c
@@ -221,7 +221,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                                // fetch next control point
                                                next = out[((y + ystep) * outwidth + x) * components + c];
                                                // flatten central control point 
                                                // fetch next control point
                                                next = out[((y + ystep) * outwidth + x) * components + c];
                                                // flatten central control point 
-                                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                                                // create following midpoint
                                                out[((y + halfstep) * outwidth + x) * components + c] = (curr + next) * 0.5f;
                                        }
                                                // create following midpoint
                                                out[((y + halfstep) * outwidth + x) * components + c] = (curr + next) * 0.5f;
                                        }
@@ -244,7 +244,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                // fetch next control point 
                                next = out[(y * outwidth + (x + xstep)) * components + c];
                                // flatten central control point 
                                // fetch next control point 
                                next = out[(y * outwidth + (x + xstep)) * components + c];
                                // flatten central control point 
-                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                        }
                }
        }
                        }
                }
        }
@@ -262,7 +262,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                // fetch next control point 
                                next = out[((y + ystep) * outwidth + x) * components + c];
                                // flatten central control point 
                                // fetch next control point 
                                next = out[((y + ystep) * outwidth + x) * components + c];
                                // flatten central control point 
-                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                        }
                }
        }
                        }
                }
        }
index 60186d52bcf268c123dfd6cf9ffd5f1cf6cbf297..83cafe43750ba7360c78e4e17ba50f303659138e 100644 (file)
@@ -95,7 +95,7 @@ static void Mod_Q1BSP_AmbientSoundLevelsForPoint(model_t *model, const vec3_t p,
        leaf = Mod_Q1BSP_PointInLeaf(model, p);
        if (leaf)
        {
        leaf = Mod_Q1BSP_PointInLeaf(model, p);
        if (leaf)
        {
-               i = min(outsize, (int)sizeof(leaf->ambient_sound_level));;
+               i = min(outsize, (int)sizeof(leaf->ambient_sound_level));
                if (i)
                {
                        memcpy(out, leaf->ambient_sound_level, i);
                if (i)
                {
                        memcpy(out, leaf->ambient_sound_level, i);
index bea76b5683fb526ac51bb5c55fbad672c8ed904f..0fec464b841422c9ecb69ba0f3a222549aa5e985 100644 (file)
--- a/snd_win.c
+++ b/snd_win.c
@@ -566,7 +566,7 @@ qboolean SNDDMA_Init(void)
        {
                if (snd_firsttime || snd_isdirect)
                {
        {
                if (snd_firsttime || snd_isdirect)
                {
-                       stat = SNDDMA_InitDirect ();;
+                       stat = SNDDMA_InitDirect ();
 
                        if (stat == SIS_SUCCESS)
                        {
 
                        if (stat == SIS_SUCCESS)
                        {