diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintfm.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbintfm.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Db3x_mmap/src/dbintfm.cpp b/plugins/Db3x_mmap/src/dbintfm.cpp index 15c52654ac..d917ef300d 100644 --- a/plugins/Db3x_mmap/src/dbintfm.cpp +++ b/plugins/Db3x_mmap/src/dbintfm.cpp @@ -39,10 +39,8 @@ CDb3Mmap::~CDb3Mmap() int CDb3Mmap::Load(bool bSkipInit)
{
int res = CDb3Base::Load(bSkipInit);
- if (!res) {
- if (!bSkipInit)
- if (InitCrypt()) return 1;
- }
+ if (!res && !bSkipInit)
+ if (InitCrypt()) return 1;
return res;
}
|