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 Trainer Hill OOB array access #5930

Merged

Conversation

SBird1337
Copy link
Collaborator

Description

Fixes an out of bounds array access in trainer_hill.c's SetUpDataStruct which caused map generation to break without -fno-toplevel-reorder.

Images

After this PR:

image

Before this PR:

image

Issue(s) that this PR fixes

/

Discord contact info

karathan

@SBird1337 SBird1337 force-pushed the tmp-fix-trainer-hitt-tlr branch from 2385158 to 54d064b Compare January 2, 2025 01:46
@AsparagusEduardo AsparagusEduardo merged commit 36c8332 into rh-hideout:upcoming Jan 2, 2025
1 check passed
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