Skip to content
Commit 35997322 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.

REVIEW: 126919
parent 3b761999
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