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

Crash on throwing #7

Closed
nisse5 opened this issue Apr 27, 2011 · 0 comments
Closed

Crash on throwing #7

nisse5 opened this issue Apr 27, 2011 · 0 comments

Comments

@nisse5
Copy link

nisse5 commented Apr 27, 2011

When to chose what item to throw and you chose a nonexisting item or the Escape key it crashes. Since I wanted to play this fun game and I managed to crash it every time, I fixed it by adding
if (index == -2) return -1;
in player::throw_range. Since I can't edit the code or are sure that I follow this projects coding standards I thought I would just mention it here.

@Whales Whales closed this as completed Jul 2, 2011
kevingranade pushed a commit to kevingranade/Cataclysm that referenced this issue Jan 19, 2013
Configurable difficulty level, groundwork for a severe rewrite of how names are handled.
kevingranade pushed a commit to kevingranade/Cataclysm that referenced this issue Jun 26, 2015
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