Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add overlooked W_CheckWidescreenPatch calls #2202

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/f_finale.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,8 @@ static void F_TextWrite(void)
if (gamemapinfo && W_CheckNumForName(finaleflat) != -1 &&
(W_CheckNumForName)(finaleflat, ns_flats) == -1)
{
V_DrawPatchFullScreen(V_CachePatchName(finaleflat, PU_LEVEL));
V_DrawPatchFullScreen(
V_CachePatchName(W_CheckWidescreenPatch(finaleflat), PU_LEVEL));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works for the UMAPINFO definition. We don't need it because all ports that support UMAPINFO also support widescreen graphics.

}
else if ((W_CheckNumForName)(finaleflat, ns_flats) != -1)
{
Expand Down
3 changes: 2 additions & 1 deletion src/wi_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,8 @@ static boolean DrawAnimation(void)
if (animation->background_lump)
{
V_DrawPatchFullScreen(
V_CachePatchName(animation->background_lump, PU_CACHE));
V_CachePatchName(
W_CheckWidescreenPatch(animation->background_lump), PU_CACHE));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works for ID24 interlevel definition. We also do not need it because all ID24 ports support widescreen graphics.

}

wi_animationstate_t *state;
Expand Down