1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

print '(debug)' to version string when build in debug configuration

This commit is contained in:
IntelOrca
2015-12-26 17:23:27 +00:00
parent 6240f063f1
commit 3b5768f5bc

View File

@@ -92,6 +92,10 @@ void openrct2_write_full_version_info(utf8 *buffer, size_t bufferSize)
if (!str_is_null_or_empty(OPENRCT2_BUILD_SERVER)) {
sprintf(strchr(buffer, 0), " provided by %s", OPENRCT2_BUILD_SERVER);
}
#if DEBUG
sprintf(strchr(buffer, 0), " (DEBUG)");
#endif
}
static void openrct2_copy_files_over(const utf8 *originalDirectory, const utf8 *newDirectory, const utf8 *extension)