diff options
| author | Reece Mackie <[email protected]> | 2019-04-28 16:53:20 +0100 |
|---|---|---|
| committer | Reece Mackie <[email protected]> | 2019-04-28 16:53:20 +0100 |
| commit | a51f3be38fe8dea4b3220e4071ebd826a2090c1c (patch) | |
| tree | 43d9489e5c3d2eb248920819090fca454014f0ee /src/core.c | |
| parent | f36ba6a2f405ffc6a85cc4d7aeda286e73e5b517 (diff) | |
| download | raylib-a51f3be38fe8dea4b3220e4071ebd826a2090c1c.tar.gz raylib-a51f3be38fe8dea4b3220e4071ebd826a2090c1c.zip | |
Fix web
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3485,7 +3485,7 @@ static void PollInputEvents(void) // Register axis data for every connected gamepad for (int j = 0; (j < gamepadState.numAxes) && (j < MAX_GAMEPAD_AXIS); j++) { - const GamepadAxis axis = GetGamepadAxis(k); + const GamepadAxis axis = GetGamepadAxis(j); gamepadAxisState[i][axis] = gamepadState.axis[j]; } |
