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 sloppy removal of obsolete operation #78674

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

PatrikLundell
Copy link
Contributor

Summary

None

Purpose of change

Fix #78669, i.e. curses crashing.

Describe the solution

Remove the recursion caused by sloppy removal of an orphaned untyped overload.

Describe alternatives you've considered

Testing

Switched to curses, started the game, saw it crash on save load (as expected). Removed the offending line, recompiled, loaded the save (the curses setting is still active), walked a little bit in a curses world (which didn't recurse out of the bottom of the stack).

Additional context

Drat!

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Dec 20, 2024
Copy link
Contributor

@Procyonae Procyonae left a comment

Choose a reason for hiding this comment

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

Fixes my CTD 🎉

@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Dec 20, 2024
@Maleclypse Maleclypse merged commit f4932f9 into CleverRaven:master Dec 21, 2024
23 of 27 checks passed
@PatrikLundell PatrikLundell deleted the fix_draw branch December 21, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stack overflow in Creature::draw at game start/load with curses.
3 participants