Codechange: store revision information in C++ style strings

This commit is contained in:
Rubidium
2025-04-28 22:54:51 +02:00
committed by rubidium42
parent 8b1c1cc33d
commit b20b56d5fc
4 changed files with 13 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ class InternalSocialIntegrationPlugin {
public:
InternalSocialIntegrationPlugin(const std::string &filename, const std::string &basepath) : library(nullptr), external(basepath)
{
openttd_info.openttd_version = _openttd_revision;
openttd_info.openttd_version = _openttd_revision.c_str();
if (!ValidateSignatureFile(fmt::format("{}.sig", filename))) {
external.state = SocialIntegrationPlugin::INVALID_SIGNATURE;