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:
Spoike 2009-07-27 07:34:10 +00:00
parent 9357d554f4
commit fab8161e68

View file

@ -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));