mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 23:42:07 +00:00
Omit hyphen in replay folder name if compbranch is empty (detached HEAD)
This commit is contained in:
parent
94e3050f10
commit
1f827a9c25
1 changed files with 4 additions and 1 deletions
|
|
@ -7177,7 +7177,10 @@ static void P_InitGametype(void)
|
||||||
int parts;
|
int parts;
|
||||||
|
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
sprintf(ver, "%s-%s", compbranch, comprevision);
|
if (strcmp(compbranch, ""))
|
||||||
|
sprintf(ver, "%s-%s", compbranch, comprevision);
|
||||||
|
else
|
||||||
|
strcpy(ver, comprevision);
|
||||||
#else
|
#else
|
||||||
strcpy(ver, VERSIONSTRING);
|
strcpy(ver, VERSIONSTRING);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue