1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

disabled game playing if 'renderonce' is on; in Android LR, clicking gives the menu instead of doing something else

This commit is contained in:
Zeno Rogue
2018-03-02 13:05:31 +01:00
parent 166e394e35
commit 7ab6cb3c8b
4 changed files with 21 additions and 7 deletions

View File

@@ -349,7 +349,7 @@ void handleKeyNormal(int sym, int uni) {
performMarkCommand(mouseover);
}
if(DEFAULTCONTROL) {
if(DEFAULTCONTROL) {
if(sym == '.' || sym == 's') movepcto(-1, 1);
if((sym == SDLK_DELETE || sym == SDLK_KP_PERIOD || sym == 'g') && uni != 'G' && uni != 'G'-64)
movepcto(MD_DROP, 1);
@@ -402,6 +402,8 @@ void handleKeyNormal(int sym, int uni) {
}
else if(forcetarget)
;
else if(rug::rugged && rug::renderonce)
;
else if(!DEFAULTCONTROL) {
if(!shmup::on)
multi::mousemovement(mouseover);