aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-08-08 01:20:06 +0200
committerEugene Sandulenko2019-09-03 17:17:32 +0200
commit5570f784b6880c94e0dcfa433ea8ffcb53d4d79f (patch)
tree980d35a5db8644f770f8437b92e48ae231a89c20
parent41696e9efd58da9065f98a2a879e3fea3303cacb (diff)
downloadscummvm-rg350-5570f784b6880c94e0dcfa433ea8ffcb53d4d79f.tar.gz
scummvm-rg350-5570f784b6880c94e0dcfa433ea8ffcb53d4d79f.tar.bz2
scummvm-rg350-5570f784b6880c94e0dcfa433ea8ffcb53d4d79f.zip
HDB: Initialise more variables
-rw-r--r--engines/hdb/gfx.cpp2
-rw-r--r--engines/hdb/hdb.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index f1b101286c..e0ded0f817 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -177,7 +177,7 @@ bool Gfx::init() {
_starField[3] = getPicture(PIC_STAR256);
_snowflake = getPicture(PIC_SNOWFLAKE);
} else {
- for (int i = 0; i < 7; i++)
+ for (int i = 0; i < 8; i++)
_mousePointer[i] = NULL;
for (int i = 0; i < 4; i++)
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index cfe57cca4c..630766e74c 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -177,6 +177,8 @@ bool HDBGame::init() {
_systemInit = true;
if (!g_hdb->isPPC())
_loadingScreenGfx = _gfx->loadPic(PIC_LOADSCREEN);
+ else
+ _loadingScreenGfx = NULL;
return true;
}