From: DeaDDooMER Date: Thu, 7 Nov 2019 21:08:37 +0000 (+0300) Subject: fix empty githash X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=1581de2ca25df32e3126a91d6e306e18130656ca;p=d2df-sdl.git fix empty githash --- diff --git a/src/game/g_basic.pas b/src/game/g_basic.pas index 7024514..afe112e 100644 --- a/src/game/g_basic.pas +++ b/src/game/g_basic.pas @@ -120,7 +120,7 @@ end; function g_GetBuildHash (full: Boolean = True): AnsiString; begin - if {$I %D2DF_BUILD_USER%} <> '' then + if {$I %D2DF_BUILD_HASH%} <> '' then if full then result := {$I %D2DF_BUILD_HASH%} else