diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-21 21:46:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-22 02:56:50 +0300 |
commit | 45fc7dfe871e25c913deb56063ca930dafe8b9ae (patch) | |
tree | 0ef15c4d3d36b02e41f8bfa765f5fadee779af24 /src/game.cpp | |
parent | 6e6d42af899c7dcc05b20b07130d0b1a5932f9bf (diff) | |
download | manaverse-45fc7dfe871e25c913deb56063ca930dafe8b9ae.tar.gz manaverse-45fc7dfe871e25c913deb56063ca930dafe8b9ae.tar.bz2 manaverse-45fc7dfe871e25c913deb56063ca930dafe8b9ae.tar.xz manaverse-45fc7dfe871e25c913deb56063ca930dafe8b9ae.zip |
fix compilation and partial running with SDL2 on Android.
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 671a8d578..debc28515 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1053,10 +1053,14 @@ void Game::handleInput() client->setState(STATE_EXIT); break; #ifdef ANDROID +#ifdef USE_SDL2 + // +++ probably need add support +#else case SDL_KEYBOARDSHOW: client->updateScreenKeyboard(event.user.code); break; #endif +#endif default: break; } |