You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: