Changed keys[] size from 256 to SDLK_LAST (SDL has keycodes over 255)
This was SVN commit r192.
This commit is contained in:
parent
6a3b74b966
commit
fa884d356d
@ -22,7 +22,7 @@
|
||||
|
||||
u32 game_ticks;
|
||||
|
||||
bool keys[256];
|
||||
bool keys[SDLK_LAST];
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user