- Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973)

- Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
This commit is contained in:
Thilo Schulz 2011-05-04 15:39:35 +00:00
parent 1062c1b87b
commit 876fd7dcb9
4 changed files with 11 additions and 13 deletions

View file

@ -63,12 +63,12 @@ char *Sys_DefaultHomePath(void)
if(com_homepath->string[0])
Q_strcat(homePath, sizeof(homePath), com_homepath->string);
else
Q_strcat(homePath, sizeof(homePath), "Quake3");
Q_strcat(homePath, sizeof(homePath), HOMEPATH_NAME_MACOSX);
#else
if(com_homepath->string[0])
Q_strcat(homePath, sizeof(homePath), com_homepath->string);
else
Q_strcat(homePath, sizeof(homePath), ".q3a");
Q_strcat(homePath, sizeof(homePath), HOMEPATH_NAME_UNIX);
#endif
}
}