summaryrefslogtreecommitdiff
path: root/src/resources/db/skillunitdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/skillunitdb.cpp')
-rw-r--r--src/resources/db/skillunitdb.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index d7028e672..0150c4a16 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -157,8 +157,5 @@ BeingInfo *SkillUnitDb::get(const BeingTypeId id)
toInt(id, int));
return BeingInfo::unknown;
}
- else
- {
- return i->second;
- }
+ return i->second;
}