- Replaced 'C:\\ZDOOMDAT' with a #define in version.h.
- Moved screenshot code into DCanvas so that it can be overridden by subclasses with a different buffer. SVN r643 (trunk)
This commit is contained in:
parent
682e0dbe95
commit
6804e66208
7 changed files with 46 additions and 23 deletions
|
|
@ -569,7 +569,7 @@ FString FGameConfigFile::GetConfigPath (bool tryProg)
|
|||
if (path.IsEmpty())
|
||||
{
|
||||
if (Args.CheckParm ("-cdrom"))
|
||||
return "c:\\zdoomdat\\zdoom.ini";
|
||||
return CDROM_DIR "\\zdoom.ini";
|
||||
|
||||
path = progdir;
|
||||
path += "zdoom.ini";
|
||||
|
|
@ -617,7 +617,7 @@ void FGameConfigFile::AddAutoexec (DArgs *list, const char *game)
|
|||
#ifndef unix
|
||||
if (Args.CheckParm ("-cdrom"))
|
||||
{
|
||||
path = "c:\\zdoomdat\\autoexec.cfg";
|
||||
path = CDROM_DIR "\\autoexec.cfg";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue