HDB: Initialise more variables
This commit is contained in:
parent
41696e9efd
commit
5570f784b6
2 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,7 @@ bool Gfx::init() {
|
||||||
_starField[3] = getPicture(PIC_STAR256);
|
_starField[3] = getPicture(PIC_STAR256);
|
||||||
_snowflake = getPicture(PIC_SNOWFLAKE);
|
_snowflake = getPicture(PIC_SNOWFLAKE);
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < 7; i++)
|
for (int i = 0; i < 8; i++)
|
||||||
_mousePointer[i] = NULL;
|
_mousePointer[i] = NULL;
|
||||||
|
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
|
|
|
@ -177,6 +177,8 @@ bool HDBGame::init() {
|
||||||
_systemInit = true;
|
_systemInit = true;
|
||||||
if (!g_hdb->isPPC())
|
if (!g_hdb->isPPC())
|
||||||
_loadingScreenGfx = _gfx->loadPic(PIC_LOADSCREEN);
|
_loadingScreenGfx = _gfx->loadPic(PIC_LOADSCREEN);
|
||||||
|
else
|
||||||
|
_loadingScreenGfx = NULL;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue