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

app-battle.c getPrevShip( ) bug #56

Open
fruitpie999 opened this issue Nov 24, 2019 · 1 comment
Open

app-battle.c getPrevShip( ) bug #56

fruitpie999 opened this issue Nov 24, 2019 · 1 comment

Comments

@fruitpie999
Copy link

getPrevShip( ) should probably not be returning e->level when wrapping around to the highest visible ship, since (1) it reveals unlockable ships before they are unlocked (for levels 6 & 7) and (2) overindexes the ship array /crashes (for levels 8+). Should return the highest unlocked level (0-5) instead, I think.

@netik
Copy link
Owner

netik commented Dec 7, 2019

Thanks for the bug report, we'll look into it!

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

No branches or pull requests

2 participants