diff options
author | David Athay <ko2fan@gmail.com> | 2008-07-05 16:13:56 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-07-05 16:13:56 +0000 |
commit | 1762fcad22bca9b74900e5a5190ba9f1f863a71a (patch) | |
tree | fcc081b351639df7c3299f572c9597bca95548bd /src/game.cpp | |
parent | 6423c8eda76babaa50c13525b0deb7df5f2d24bd (diff) | |
download | Mana-1762fcad22bca9b74900e5a5190ba9f1f863a71a.tar.gz Mana-1762fcad22bca9b74900e5a5190ba9f1f863a71a.tar.bz2 Mana-1762fcad22bca9b74900e5a5190ba9f1f863a71a.tar.xz Mana-1762fcad22bca9b74900e5a5190ba9f1f863a71a.zip |
Allow alt key for chatting on Mac, remove unneeded includes.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 6b73b8ca..dcc2ba0a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -648,7 +648,11 @@ void Game::handleInput() // Keys pressed together with Alt/Meta // Emotions and some internal gui windows + #ifndef __APPLE__ if (event.key.keysym.mod & KMOD_ALT) + #else + if (event.key.keysym.mod & KMOD_LMETA) + #endif { switch (event.key.keysym.sym) { |