diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool/modulechain.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/modulechain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/modulechain.cpp b/plugins/Db3x_mmap/src/dbtool/modulechain.cpp index 16ff76df78..60ae30af7c 100644 --- a/plugins/Db3x_mmap/src/dbtool/modulechain.cpp +++ b/plugins/Db3x_mmap/src/dbtool/modulechain.cpp @@ -23,7 +23,7 @@ struct ModChainEntry { DWORD ofsOld, ofsNew;
int size;
char name[257];
-} static *modChain = NULL;
+} static *modChain = nullptr;
static int modChainCount;
static DWORD ofsCurrent;
static int phase, iCurrentModName;
@@ -132,9 +132,9 @@ DWORD CDb3Mmap::ConvertModuleNameOfs(DWORD ofsOld) void CDb3Mmap::FreeModuleChain()
{
- if (modChain != NULL) {
+ if (modChain != nullptr) {
free(modChain);
- modChain = NULL;
+ modChain = nullptr;
last_mod = 0;
}
}
|