This commit is contained in:
dborth 2012-03-18 17:39:23 +00:00
parent 2dd5889c1a
commit ffbfc71e9a

View File

@ -318,7 +318,7 @@ u32 StandardMovement(unsigned short chan)
{ {
u32 J = 0; u32 J = 0;
double angle; double angle;
static const double THRES = cos(67.5); static const double THRES = 0.38268343236508984; // cos(67.5)
s8 pad_x = userInput[chan].pad.stickX; s8 pad_x = userInput[chan].pad.stickX;
s8 pad_y = userInput[chan].pad.stickY; s8 pad_y = userInput[chan].pad.stickY;