summaryrefslogtreecommitdiff
path: root/src/resources/db/elementaldb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/elementaldb.cpp')
-rw-r--r--src/resources/db/elementaldb.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/resources/db/elementaldb.cpp b/src/resources/db/elementaldb.cpp
index ce11dfeda..1bebf7633 100644
--- a/src/resources/db/elementaldb.cpp
+++ b/src/resources/db/elementaldb.cpp
@@ -148,13 +148,6 @@ BeingInfo *ElementalDb::get(const BeingTypeId id)
toInt(id, int));
return BeingInfo::unknown;
}
- else
- {
- return i->second;
- }
- }
- else
- {
- return i->second;
}
+ return i->second;
}