Skip to content
Commit 437c44df authored by Julian Helfferich's avatar Julian Helfferich
Browse files

Fix occasional crash when starting new game.

On starting a new game, bonuses are placed in the arena. To this end,
random bonusses are created and assigend to blocks. However, an
erroneous calculation of the index accessing the m_blocks array led to
occasional segmentation faults (index out of range).

This commit fixes the calculation of the index.

(cherry picked from commit 35997322)
parent f27feb26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment