mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 08:51:57 +00:00
Fixed error: class idLocalUserWin has no member named StorageSizeAvailable
This commit is contained in:
parent
6b918aef86
commit
731428164f
1 changed files with 5 additions and 1 deletions
|
@ -136,6 +136,8 @@ int idSaveGameThread::Save()
|
|||
}
|
||||
}
|
||||
|
||||
// RB: disabled savegame and profile storage checks, because it fails sometimes without any clear reason
|
||||
/*
|
||||
// Inform user about size required if necessary
|
||||
if( requiredSizeBytes > 0 && !callback->cancelled )
|
||||
{
|
||||
|
@ -147,7 +149,7 @@ int idSaveGameThread::Save()
|
|||
directory += "\\"; // so it doesn't think the last part is a file and ignores in the directory creation
|
||||
fileSystem->CreateOSPath( directory ); // we can't actually check FileExists in production builds, so just try to create it
|
||||
user->StorageSizeAvailable( requiredSizeBytes, callback->requiredSpaceInBytes );
|
||||
|
||||
|
||||
if( callback->requiredSpaceInBytes > 0 )
|
||||
{
|
||||
callback->errorCode = SAVEGAME_E_INSUFFICIENT_ROOM;
|
||||
|
@ -156,6 +158,8 @@ int idSaveGameThread::Save()
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
// RB end
|
||||
|
||||
// Delete all previous files if needed
|
||||
// ALL THE FILES RIGHT NOW---- could use pattern later...
|
||||
|
|
Loading…
Reference in a new issue