Don't use SDL defines in platform independant code

This commit is contained in:
Simon Robertshaw 2012-10-29 10:38:04 +00:00
parent 68e6fe2502
commit 057ec914cf

View File

@ -664,7 +664,7 @@ bool GameController::KeyRelease(int key, Uint16 character, bool shift, bool ctrl
{
sim->player2.comm = (int)(sim->player2.comm)&11;
}
if (key == SDLK_s)
if (key == KEY_s)
{
sim->player2.comm = (int)(sim->player2.comm)&7;
}