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

@@ -97,7 +97,7 @@ namespace Shared {
FILE *f = fopen(profileLog.c_str(), "w");
#endif
if (f == NULL)
throw megaglest_runtime_error("Can not open file: " + profileLog);
throw game_runtime_error("Can not open file: " + profileLog);
fprintf(f, "Profiler Results\n\n");
@@ -127,7 +127,7 @@ namespace Shared {
currSection->stop();
currSection = currSection->getParent();
} else {
throw megaglest_runtime_error("Profile: Leaving section is not current section: " + name);
throw game_runtime_error("Profile: Leaving section is not current section: " + name);
}
}