Don't use SDL defines in platform independant code
This commit is contained in:
parent
68e6fe2502
commit
057ec914cf
@ -664,7 +664,7 @@ bool GameController::KeyRelease(int key, Uint16 character, bool shift, bool ctrl
|
|||||||
{
|
{
|
||||||
sim->player2.comm = (int)(sim->player2.comm)&11;
|
sim->player2.comm = (int)(sim->player2.comm)&11;
|
||||||
}
|
}
|
||||||
if (key == SDLK_s)
|
if (key == KEY_s)
|
||||||
{
|
{
|
||||||
sim->player2.comm = (int)(sim->player2.comm)&7;
|
sim->player2.comm = (int)(sim->player2.comm)&7;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user