mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Yeah... That was a stupid bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3336 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9357d554f4
commit
fab8161e68
1 changed files with 2 additions and 2 deletions
|
@ -456,7 +456,7 @@ void CL_DownloadFinished(void)
|
||||||
{
|
{
|
||||||
if (strncmp(tempname,"skins/",6))
|
if (strncmp(tempname,"skins/",6))
|
||||||
{
|
{
|
||||||
if (!FS_Rename(tempname, filename, FS_GAME))
|
if (FS_Rename(tempname, filename, FS_GAME))
|
||||||
{
|
{
|
||||||
char nativetmp[MAX_OSPATH], nativefinal[MAX_OSPATH];;
|
char nativetmp[MAX_OSPATH], nativefinal[MAX_OSPATH];;
|
||||||
FS_NativePath(tempname, FS_GAME, nativetmp, sizeof(nativetmp));
|
FS_NativePath(tempname, FS_GAME, nativetmp, sizeof(nativetmp));
|
||||||
|
@ -466,7 +466,7 @@ void CL_DownloadFinished(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!FS_Rename(tempname+6, filename+6, FS_SKINS))
|
if (FS_Rename(tempname+6, filename+6, FS_SKINS))
|
||||||
{
|
{
|
||||||
char nativetmp[MAX_OSPATH], nativefinal[MAX_OSPATH];;
|
char nativetmp[MAX_OSPATH], nativefinal[MAX_OSPATH];;
|
||||||
FS_NativePath(tempname+6, FS_SKINS, nativetmp, sizeof(nativetmp));
|
FS_NativePath(tempname+6, FS_SKINS, nativetmp, sizeof(nativetmp));
|
||||||
|
|
Loading…
Reference in a new issue