mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-04 09:47:02 +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);
|
||||
#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())
|
||||
rug::reset_view();
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user