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
e5e83f3921
commit
a61ecdfad4
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 "";
|
||||
return GfLocalDir();
|
||||
}
|
||||
|
||||
std::string Asset::dstdir() const
|
||||
|
|
Loading…
Reference in a new issue