mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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;
|
||||
|
||||
#ifdef DEVELOP
|
||||
sprintf(ver, "%s-%s", compbranch, comprevision);
|
||||
if (strcmp(compbranch, ""))
|
||||
sprintf(ver, "%s-%s", compbranch, comprevision);
|
||||
else
|
||||
strcpy(ver, comprevision);
|
||||
#else
|
||||
strcpy(ver, VERSIONSTRING);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue