aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index 4dc1df780e..c9bd925cae 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -113,11 +113,11 @@ Globals::Globals(HopkinsEngine *vm) {
_oceanDirection = DIR_NONE;
// Initialize pointers
- _levelSpriteBuf = NULL;
- _saveData = NULL;
+ _levelSpriteBuf = g_PTRNUL;
+ _saveData = (Savegame *)g_PTRNUL;
_answerBuffer = g_PTRNUL;
- _characterSpriteBuf = NULL;
- _optionDialogSpr = NULL;
+ _characterSpriteBuf = g_PTRNUL;
+ _optionDialogSpr = g_PTRNUL;
// Reset flags
_censorshipFl = false;