mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-10 18:34:08 +00:00
Home no longer resets view in rug
This commit is contained in:
parent
0472bf764f
commit
e978ed9eac
@ -489,7 +489,7 @@ EX void handleKeyNormal(int sym, int uni) {
|
|||||||
pushScreen(inv::show);
|
pushScreen(inv::show);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(((sym == SDLK_HOME && GDIM == 2) || sym == SDLK_F3 || sym == ' ') && DEFAULTNOR(sym)) {
|
if(((sym == SDLK_HOME && GDIM == 2 && !rug::rugged) || sym == SDLK_F3 || sym == ' ') && DEFAULTNOR(sym)) {
|
||||||
if(rug::rug_control())
|
if(rug::rug_control())
|
||||||
rug::reset_view();
|
rug::reset_view();
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user