Commented out conditional...
ghedger authored 10 years ago
T. Joseph Carter committed 7 years ago
568 | 568 | // Called when mouse is being used as a joystick && mouse position changes |
569 | 569 | void JoySetPosition (int xvalue, int xrange, int yvalue, int yrange) |
570 | 570 | { |
571 | int nJoyNum = 0; (joyinfo[joytype[0]].device == DEVICE_MOUSE) ? 0 : 1; | |
571 | int nJoyNum = 0; //(joyinfo[joytype[0]].device == DEVICE_MOUSE) ? 0 : 1; | |
572 | 572 | xpos[nJoyNum] = (xvalue * 255) / xrange; |
573 | 573 | ypos[nJoyNum] = (yvalue * 255) / yrange; |
574 | 574 | } |