todo-knk / andors-trail

Automatically exported from code.google.com/p/andors-trail
0 stars 0 forks source link

Force-close when clicking the "Loading"-screen #326

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start a game
2. Click the screen that says "Loading", repeatedly
3. If you manage to click the loading-screen just after the game is loaded, but 
before the main view is displayed, you will get a force-close.

The following exception occurs:
E/AndroidRuntime(335): java.lang.ArithmeticException: divide by zero
E/AndroidRuntime(335):  at 
com.gpl.rpg.AndorsTrail.view.MainView.onTouchEvent(MainView.java:142)
E/AndroidRuntime(335):  at android.view.View.dispatchTouchEvent(View.java:3885)

Original issue reported on code.google.com by oskar.wi...@gmail.com on 10 Nov 2012 at 7:59

GoogleCodeExporter commented 8 years ago
Fixed in 76a3259.
Thanks to PghJuggalo from the forums, that reported it.

Original comment by oskar.wi...@gmail.com on 10 Nov 2012 at 8:00