Trackball fix (hpsolo)

This commit is contained in:
pagefault
2001-04-25 04:48:10 +00:00
parent d2119c1ad9
commit d12ee3eece

View File

@@ -204,7 +204,7 @@ int Main_Proc(void)
*/ */
case SDL_JOYBALLMOTION: case SDL_JOYBALLMOTION:
CurrentJoy = event.jball.which; CurrentJoy = event.jball.which;
if (event.jball.jball == 0) { if (event.jball.ball == 0) {
if (event.jball.xrel < -100) { if (event.jball.xrel < -100) {
pressed[0x100 + CurrentJoy*32 + 6] = 0; pressed[0x100 + CurrentJoy*32 + 6] = 0;
pressed[0x100 + CurrentJoy*32 + 7] = 1; pressed[0x100 + CurrentJoy*32 + 7] = 1;