mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 03:27:55 +00:00
made background screen darkening consistent and optional
This commit is contained in:
@@ -1291,7 +1291,8 @@ EX bool warningprotection(const string& s) {
|
||||
if(items[itWarning]) return false;
|
||||
warning_shown = true;
|
||||
pushScreen([s] () {
|
||||
gamescreen(1);
|
||||
cmode = sm::DARKEN;
|
||||
gamescreen();
|
||||
dialog::addBreak(250);
|
||||
dialog::init(XLAT("WARNING"), 0xFF0000, 150, 100);
|
||||
dialog::addBreak(500);
|
||||
|
Reference in New Issue
Block a user