Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
level select reacts to controller
  • Loading branch information
Barbara Köhler committed Jan 29, 2012
1 parent 966f533 commit b1a3f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obj.player.lua
Expand Up @@ -231,7 +231,7 @@ function PlayerUpdate(dt)
local bPressed_Right = 0
local bPressed_Up = 0
local bPressed_Down = 0
if keyboard[kUp] == 1 or joystickbuttons[kA] == 1 or gJumpEnemyKill then
if keyboard[kUp] == 1 or joystickbuttons[kA] == 1 or joystickbuttons[kB] == 1 or joystickbuttons[kX] == 1 or joystickbuttons[kY] == 1 or gJumpEnemyKill then
bPressed_Up = true
else
bPressed_Up = false
Expand Down

0 comments on commit b1a3f4b

Please sign in to comment.