Skip to content
Commit 6f44f207 authored by Boris Egorov's avatar Boris Egorov Committed by Dennis Nienhüser
Browse files

Fix construction of unknown planet

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

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

REVIEW: 122853
parent 287e7db6
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