asset.cpp: Always point to GfLocalDir
Now that tracks and cars can also be loaded from GfLocalDir(), the in-game download manager must only use this directory since write permissions are not guaranteed on GfDataDir().
This commit is contained in:
parent
8b5b506a7c
commit
c71728ea4b
1 changed files with 1 additions and 11 deletions
|
@ -89,17 +89,7 @@ std::string Asset::path() const
|
|||
|
||||
std::string Asset::basedir() const
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case Asset::car:
|
||||
case Asset::track:
|
||||
return GfDataDir();
|
||||
|
||||
case Asset::driver:
|
||||
return GfLocalDir();
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
std::string Asset::dstdir() const
|
||||
|
|
Loading…
Reference in a new issue