fix for bug #335007: konquest misses available artwork for rendering planets

Review Request #119439 - Created July 23, 2014 and submitted

Information
Martin Walch
konquest
335007
Reviewers
Kdegames

Back in May I opened bug #335007 and posted this patch there.

It activates the use of the currently unused artwork "planet_10" (green planet).

The look of the individual planets is randomly assigned with numbers from 0 to 8 with KRandomSequence::getLong(9), later mapping to 1 to 9. But there are 10 different pictures for planets. Therefore change getLong(9) to getLong(10).

Applied patch successfully to master, KDE/4.13 and KDE/4.14.
Builds fine. When running the game, the green planet is randomly in use.

Albert Astals Cid
Martin Walch
Review request changed

Status: Closed (submitted)

Loading...