git-svn-id: https://svn.eduke32.com/eduke32@1023 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-08-24 23:24:14 +00:00
parent 1ba3e3aef2
commit 07b71b1139
2 changed files with 5 additions and 5 deletions

View file

@ -7432,7 +7432,7 @@ PALONLY:
spriteext[tsprite[j].owner].tspr = NULL; spriteext[tsprite[j].owner].tspr = NULL;
} }
} }
while (--j > 0); while (j--);
if (j < 0) return; if (j < 0) return;

View file

@ -692,7 +692,7 @@ void CONTROL_AxisFunctionState(int32 *p1)
if (j != AXISUNDEFINED) if (j != AXISUNDEFINED)
p1[j] = 1; p1[j] = 1;
} }
while (--i >= 0); while (i--);
} }
if (CONTROL_NumJoyAxes) if (CONTROL_NumJoyAxes)
@ -711,7 +711,7 @@ void CONTROL_AxisFunctionState(int32 *p1)
if (j != AXISUNDEFINED) if (j != AXISUNDEFINED)
p1[j] = 1; p1[j] = 1;
} }
while (--i >= 0); while (i--);
} }
} }
@ -744,7 +744,7 @@ void CONTROL_ButtonFunctionState(int32 *p1)
} }
mousebind[i].laststate = CONTROL_MouseButtonState[i]; mousebind[i].laststate = CONTROL_MouseButtonState[i];
} }
while (--i >= 0); while (i--);
} }
if (CONTROL_NumJoyButtons) if (CONTROL_NumJoyButtons)
@ -761,7 +761,7 @@ void CONTROL_ButtonFunctionState(int32 *p1)
if (j != KEYUNDEFINED) if (j != KEYUNDEFINED)
p1[j] |= CONTROL_JoyButtonState[i]; p1[j] |= CONTROL_JoyButtonState[i];
} }
while (--i >= 0); while (i--);
} }
} }
/* /*