window-ports should respect flags.silent setting
Like tty_nhbell() in termcap.c, window-ports really should respect the flags.silent setting.
This commit is contained in:
@@ -628,7 +628,8 @@ int NetHackQtBind::qt_nh_poskey(coordxy *x, coordxy *y, int *mod)
|
||||
|
||||
void NetHackQtBind::qt_nhbell()
|
||||
{
|
||||
QApplication::beep();
|
||||
if (!::flags.silent)
|
||||
QApplication::beep();
|
||||
}
|
||||
|
||||
int NetHackQtBind::qt_doprev_message()
|
||||
|
||||
Reference in New Issue
Block a user