Fix construction of unknown planet

Review Request #122853 - Created March 8, 2015 and submitted

Information
Boris Egorov
marble
master
Reviewers
marble

If we pass unknown planet name to PlanetFactory, it must show warning
and set planet name to 'Unknown'. See commit 61e92c8ff13a26565 for
proper behavior.

Issue detected by Cppcheck: "Expression is always false because 'else
if' condition matches previous condition at line 80."


  
Dennis Nienhüser
Boris Egorov
Review request changed

Status: Closed (submitted)

Loading...