Skip to content

Commit

Permalink
Tweak V_ShadeScreen()
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Oct 31, 2023
1 parent 9b395c7 commit 53c85ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
## Bug Fixes

- **Disabled teleport-to-Automap-pointer during non-Casual Play**
- **Tweaked dark menu background and Automap overlay algorithm** (fixes very low values)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ For these settings, their CVAR names are provided alongside the _CFG-Only_ label
- `DSMNUOPN`, `DSMNUCLS`, `DSMNUACT`, `DSMNUBAK`, `DSMNUMOV`, `DSMNUSLI`, `DSMNUERR`;
- `DSINTTIC`, `DSINTTOT`, `DSINTNEX`, `DSINTNET`, `DSINTDMS`.
- **Customizable darkening level for dark menu background and Automap overlay** (CFG-Only: `menu_background_darkening` and `automap_overlay_darkening`) [i.b. Cherry Doom]
- **Tweaked dark menu background and Automap overlay algorithm**
- The **Chaingun can be given a custom sound effect** by providing a `DSCHGUN` sound effect lump
- Toggle to **allow chat in singleplayer** (CFG-Only: `sp_chat`)
- Restored `-cdrom` command-line parameter
Expand Down
2 changes: 1 addition & 1 deletion src/v_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ void V_ShadeScreen(const int targshade) // [Nugget] Parameterized
static int screenshade;

// [FG] start a new sequence
if (gametic - oldtic > targshade / step)
if (gametic - oldtic > 1) // [Nugget] Changed condition
{
screenshade = 0;
}
Expand Down

0 comments on commit 53c85ac

Please sign in to comment.