Skip to content

Commit

Permalink
Fix translucent super shotgun
Browse files Browse the repository at this point in the history
Thanks Chris Greene!
  • Loading branch information
bradharding committed Feb 28, 2017
1 parent caf2741 commit d60cca9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
### DOOM Retro v2.4.1

* Optimizations have been made to further improve the overall performance and stability of *DOOM Retro*.
* The following changes have been made to accommodate for the release of [*Back to Saturn X E1: Get Out Of My Stations v1.0.02*](https://www.doomworld.com/vb/post/1721926):
* The following changes have been made to accommodate for the release of [*Back to Saturn X E1: Get Out Of My Stations v1.0*](https://www.doomworld.com/vb/post/1721926):
* Teleports are no longer treated as liquid.
* If only `btsx_e1a.wad` is opened using the WAD launcher, then `btsx_e1b.wad` is automatically opened as well, and vice-versa.
* The header of WADs specified on the command-line using the `-file` parameter will no longer be checked.
* A bug has been fixed whereby the super shotgun would appear entirely translucent when the player fired.

---

Expand Down
2 changes: 1 addition & 1 deletion src/r_things.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ static void R_DrawPSprite(pspdef_t *psp, dboolean invisibility)
else if (r_translucency && !notranslucency)
{
if (spr == SPR_SHT2)
vis->colfunc = ((frame & (FF_FRAMEMASK | FF_FULLBRIGHT)) ?
vis->colfunc = ((frame & FF_FRAMEMASK) && (frame & FF_FULLBRIGHT) ?
tlredwhitecolfunc1 : basecolfunc);
else
{
Expand Down

0 comments on commit d60cca9

Please sign in to comment.