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

Array out of bounds in pl_sees #66480

Closed
akrieger opened this issue Jun 26, 2023 · 2 comments
Closed

Array out of bounds in pl_sees #66480

akrieger opened this issue Jun 26, 2023 · 2 comments
Labels
(S3 - Duplicate) Bug that is duplicate of another one

Comments

@akrieger
Copy link
Member

akrieger commented Jun 26, 2023

Describe the bug

Used 'play now' option to create a new game. Hit this debug assertion.

map_cache.lm[player_character.posx()] returns an array of size 132. player_character.posy() is 1796, waaay out of range.

Attach save file

Tallaboa.zip

Save has no characters, try creating a random character but use that world to start in.

Steps to reproduce

In MSVC debug build, use 'play now' to create a new game.

Expected behavior

Doesn't debug assert.

Screenshots

image

image

Versions and configuration

Win 10 64 bit f13d34a

Additional context

No response

@akrieger akrieger added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Jun 26, 2023
@RenechCDDA
Copy link
Member

I believe this is a dupe of #66427

@akrieger
Copy link
Member Author

Yep that's the right one and #66431 fixes.

@RenechCDDA RenechCDDA added (S3 - Duplicate) Bug that is duplicate of another one and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S3 - Duplicate) Bug that is duplicate of another one
Projects
None yet
Development

No branches or pull requests

2 participants