Skip to content

Commit

Permalink
Localisation: Remove assert
Browse files Browse the repository at this point in the history
Fixes: issue #1479
  • Loading branch information
dscharrer committed Jul 6, 2020
1 parent 620f60a commit e18eba6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/core/Localisation.cpp
Expand Up @@ -421,15 +421,9 @@ long getLocalisedKeyCount(const std::string & sectionname) {
}

std::string getLocalised(const std::string & name) {

arx_assert(name.find_first_of("ABCDEFGHIJKLMNOPQRSTUVWXYZ[]") == std::string::npos);

return g_localisation.getKey(name, std::string(), name);
}

std::string getLocalised(const std::string & name, const std::string & default_value) {

arx_assert(name.find_first_of("ABCDEFGHIJKLMNOPQRSTUVWXYZ[]") == std::string::npos);

return g_localisation.getKey(name, std::string(), default_value);
}

0 comments on commit e18eba6

Please sign in to comment.