Henne / Bright-Eyes

"Bright Eyes" is a variation of DOSBox with customized support for the CRPG "Das schwarze Auge 1 - Schicksalsklinge"
GNU General Public License v2.0
19 stars 7 forks source link

Original-Bug: get_random_hero() can loop forever #5

Closed Henne closed 13 years ago

Henne commented 13 years ago

The function get_random_hero() can loop forever, if all positions of the current group heros are greater than the number of heros in the group.

It can best figured out with one hero who is not in the first position. If you walk through the city and trigger a city event (Thorwal 1%) you often get this endless loop.

Henne commented 13 years ago

This Bug is fixed. The correct hero is selected.