mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-24 08:43:15 +02:00
MSVC compatibility
This commit is contained in:
parent
6615fbca03
commit
b71214b8cf
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user