Skip to content

Commit c5c8a34

Browse files
author
CppAndre
committed
Better version display
1 parent 50c48c8 commit c5c8a34

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/game/gamesys/SysCvar.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
#include "../../framework/BuildVersion.h" // HUMANHEAD mdl
99

1010
#if defined( _DEBUG )
11-
#define BUILD_DEBUG "-debug"
11+
# define BUILD_DEBUG "debug"
1212
#else
13-
#define BUILD_DEBUG "-release"
14-
#endif
13+
# ifdef PR_DEBUG
14+
# define BUILD_DEBUG "preyrun-debug"
15+
# else
16+
# define BUILD_DEBUG "release"
17+
# endif // PR_DEBUG
18+
#endif // _DEBUG
1519

1620
/*
1721
@@ -245,7 +249,7 @@ const char *ui_teamArgs[] = { "Red", "Blue", NULL };
245249

246250
struct gameVersion_s
247251
{
248-
gameVersion_s(void) { sprintf(string, "%s 1.0.%d%s%s %s %s %s", GAME_NAME, BUILD_NUMBER, BUILD_DEBUG, ID_VERSIONTAG, BUILD_STRING, __DATE__, __TIME__); }
252+
gameVersion_s(void) { sprintf(string, "%s/Prey-1.0.%d %s%s %s %s %s", ENGINE_VERSION, BUILD_NUMBER, BUILD_DEBUG, ID_VERSIONTAG, BUILD_STRING, __DATE__, __TIME__); }
249253
char string[256];
250254
} gameVersion;
251255

0 commit comments

Comments
 (0)