From 3b5768f5bc647d72ad9d09c14fefef89c07a7415 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sat, 26 Dec 2015 17:23:27 +0000 Subject: [PATCH] print '(debug)' to version string when build in debug configuration --- src/openrct2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/openrct2.c b/src/openrct2.c index 9af3275cfc..eb41a4457f 100644 --- a/src/openrct2.c +++ b/src/openrct2.c @@ -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)