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

fix entering check in WI_initAnimatedBack, reformat #2097

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

rfomin
Copy link
Collaborator

@rfomin rfomin commented Dec 20, 2024

No description provided.

@@ -900,9 +913,13 @@ static void WI_initAnimatedBack(boolean firstcall)
}

if (exitpic)
return;
if (enterpic && entering)
Copy link
Owner

Choose a reason for hiding this comment

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

entering is a pointer to a patch, right? Why was this check here in the first place?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a function parameter in PrBoom+: https://github.com/coelckers/prboom-plus/blob/969515162c5aebea4ad7a125ee178dcad3d576ad/prboom2/src/wi_stuff.c#L655

I accidentally copied it from PrBoom+.

Copy link
Owner

@fabiangreffrath fabiangreffrath left a comment

Choose a reason for hiding this comment

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

Thanks!

@rfomin rfomin merged commit bf71e8c into fabiangreffrath:master Dec 20, 2024
8 checks passed
@rfomin rfomin deleted the wi_suff_update branch December 20, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants