From: havoc Date: Thu, 20 May 2004 19:29:04 +0000 (+0000) Subject: Tomaz cleaned up some double ;; lines (strange stuff) X-Git-Tag: xonotic-v0.1.0preview~5849 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=3e84ec7391c20263a18ee7784510bfc6a0a484d6 Tomaz cleaned up some double ;; lines (strange stuff) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4203 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/curves.c b/curves.c index a94dc71c..835be2cc 100644 --- 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 - 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; } @@ -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 - 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 - 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; } } } diff --git a/model_brush.c b/model_brush.c index 60186d52..83cafe43 100644 --- a/model_brush.c +++ b/model_brush.c @@ -95,7 +95,7 @@ static void Mod_Q1BSP_AmbientSoundLevelsForPoint(model_t *model, const vec3_t p, 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); diff --git a/snd_win.c b/snd_win.c index bea76b56..0fec464b 100644 --- a/snd_win.c +++ b/snd_win.c @@ -566,7 +566,7 @@ qboolean SNDDMA_Init(void) { if (snd_firsttime || snd_isdirect) { - stat = SNDDMA_InitDirect ();; + stat = SNDDMA_InitDirect (); if (stat == SIS_SUCCESS) {