summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-10-29 10:38:04 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-29 10:38:04 (GMT)
commit057ec914cff75e3139ae5addf862544b827c9e5e (patch)
tree322d51a0396c70de69f9b9039d8d9655143f93cd /src/game/GameController.cpp
parent68e6fe250203ec9459ec297b232ed62c84a8ac86 (diff)
downloadpowder-057ec914cff75e3139ae5addf862544b827c9e5e.zip
powder-057ec914cff75e3139ae5addf862544b827c9e5e.tar.gz
Don't use SDL defines in platform independant code
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index 07ccfe9..0f3d92e 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -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;
}