/*
Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
This file is part of Lugaru.
{
SDL_PumpEvents();
int numkeys;
- const Uint8 *keyState = SDL_GetKeyboardState(&numkeys);
+ const Uint8* keyState = SDL_GetKeyboardState(&numkeys);
for (int i = 0; i < numkeys; i++) {
keyPressed[i] = !keyDown[i] && keyState[i];
keyDown[i] = keyState[i];