From b71214b8cf95fac22d61316c4e080a3e03145f0c Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 4 Nov 2011 21:33:44 +0000 Subject: [PATCH] MSVC compatibility --- src/graphics.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/graphics.c b/src/graphics.c index 2409b98de..3c988f594 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1846,7 +1846,10 @@ void render_parts(pixel *vid) //Pixel rendering if(pixel_mode & PSPEC_STICKMAN) { - //Special case for stickman + char buff[20]; //Buffer for HP + int s; + int legr, legg, legb; + pixel pc; playerst *cplayer; if(t==PT_STKM) cplayer = &player; @@ -1892,10 +1895,6 @@ void render_parts(pixel *vid) glEnd(); glDisable(GL_LINE_SMOOTH); #else - char buff[20]; //Buffer for HP - int s; - int legr, legg, legb; - pixel pc; if (mousex>(nx-3) && mousex<(nx+3) && mousey<(ny+3) && mousey>(ny-3)) //If mous is in the head {