From e978ed9eacc1044735a27b9efa5c400dd3708bed Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 17 Apr 2020 00:54:13 +0200 Subject: [PATCH] Home no longer resets view in rug --- control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index 71174676..3f7ba2eb 100644 --- a/control.cpp +++ b/control.cpp @@ -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