Renamed megaglest_runtime_error to game_runtime_error

This commit is contained in:
mathusummut
2018-11-02 12:15:57 +01:00
parent 4eb7dc204e
commit 69ab9716da
116 changed files with 1244 additions and 1244 deletions

View File

@@ -86,7 +86,7 @@ namespace Shared {
T *newInstance(string classId) {
Factories::iterator it = factories.find(classId);
if (it == factories.end()) {
throw megaglest_runtime_error("Unknown class identifier: " + classId);
throw game_runtime_error("Unknown class identifier: " + classId);
}
return static_cast<T*>(it->second->newInstance());
}