HDB: Initialise more variables

This commit is contained in:
Eugene Sandulenko 2019-08-08 01:20:06 +02:00
parent 41696e9efd
commit 5570f784b6
2 changed files with 3 additions and 1 deletions

View file

@ -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++)

View file

@ -177,6 +177,8 @@ bool HDBGame::init() {
_systemInit = true;
if (!g_hdb->isPPC())
_loadingScreenGfx = _gfx->loadPic(PIC_LOADSCREEN);
else
_loadingScreenGfx = NULL;
return true;
}