mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
Renamed megaglest_runtime_error to game_runtime_error
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user