mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Missing a const
This commit is contained in:
parent
1984179657
commit
cf7056b4d6
|
@ -724,7 +724,7 @@ void CInput::GetInput(BOOL bPreScan)
|
||||||
// clear button's buffer
|
// clear button's buffer
|
||||||
memset( inp_ubButtonsBuffer, 0, sizeof( inp_ubButtonsBuffer));
|
memset( inp_ubButtonsBuffer, 0, sizeof( inp_ubButtonsBuffer));
|
||||||
|
|
||||||
Uint8 *keystate = SDL_GetKeyboardState(NULL);
|
const Uint8 *keystate = SDL_GetKeyboardState(NULL);
|
||||||
// for each Key
|
// for each Key
|
||||||
for (INDEX iKey=0; iKey<ARRAYCOUNT(_akcKeys); iKey++) {
|
for (INDEX iKey=0; iKey<ARRAYCOUNT(_akcKeys); iKey++) {
|
||||||
const KeyConversion &kc = _akcKeys[iKey];
|
const KeyConversion &kc = _akcKeys[iKey];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user