From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/game/shared/splash.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/game/shared/splash.cc') diff --git a/src/game/shared/splash.cc b/src/game/shared/splash.cc index 86ed0d0..86b71bc 100644 --- a/src/game/shared/splash.cc +++ b/src/game/shared/splash.cc @@ -1,3 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: splash.cc +// Description: Randomized text messages + #include "shared/pch.hh" #include "shared/splash.hh" @@ -39,7 +44,7 @@ static void splash_init_filename(std::string_view filename) splash_random.seed(std::random_device()()); } else { - splash_lines.push_back(std::format("{}: {}", filename, physfs_error())); + splash_lines.push_back(std::format("{}: {}", filename, physfs::last_error())); splash_random.seed(std::random_device()()); } } -- cgit