Skip to content

Fix Subtraction Overflow In Map Editor#416

Merged
olefasting merged 1 commit intofishfolk:mainfrom
zicklag:fix-editor-panic
Apr 12, 2022
Merged

Fix Subtraction Overflow In Map Editor#416
olefasting merged 1 commit intofishfolk:mainfrom
zicklag:fix-editor-panic

Conversation

@zicklag
Copy link
Copy Markdown
Member

@zicklag zicklag commented Apr 9, 2022

I was getting a subtraction overflow panic while editing the test map and trying to place tiles.

This makes sure we don't try to get a tile below position 0.

@zicklag zicklag force-pushed the fix-editor-panic branch from fb0e653 to 2d88881 Compare April 9, 2022 19:03
@olefasting olefasting merged commit c9bfb60 into fishfolk:main Apr 12, 2022
@zicklag zicklag deleted the fix-editor-panic branch April 12, 2022 21:47
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.

3 participants