diff options
Diffstat (limited to 'game/shared/splash.cc')
| -rw-r--r-- | game/shared/splash.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/shared/splash.cc b/game/shared/splash.cc index 0cd5f50..1ff3e8f 100644 --- a/game/shared/splash.cc +++ b/game/shared/splash.cc @@ -35,7 +35,8 @@ static void splash_init_filename(const char* filename) while(std::getline(stream, line)) splash_lines.push_back(sanitize_line(line)); splash_random.seed(std::random_device()()); - } else { + } + else { splash_lines.push_back(std::format("{}: {}", filename, PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode()))); splash_random.seed(std::random_device()()); } |
