Home no longer resets view in rug

This commit is contained in:
Zeno Rogue 2020-04-17 00:54:13 +02:00
parent 0472bf764f
commit e978ed9eac
1 changed files with 1 additions and 1 deletions

View File

@ -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