mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
HDB: Fix crash during initialisation
This commit is contained in:
parent
86cc1df32d
commit
0cd1ffc34e
@ -77,12 +77,12 @@ bool HDBGame::init() {
|
||||
if (!_fileMan->openMPC(getGameFile())) {
|
||||
error("FileMan::openMPC: Cannot find the hyperspace.mpc data file.");
|
||||
}
|
||||
if (!_ai->init()) {
|
||||
error("AI::init: Couldn't initialize AI");
|
||||
}
|
||||
if (!_drawMan->init()) {
|
||||
error("DrawMan::init: Couldn't initialize DrawMan");
|
||||
}
|
||||
if (!_ai->init()) {
|
||||
error("AI::init: Couldn't initialize AI");
|
||||
}
|
||||
if (!_lua->init()) {
|
||||
error("LuaScript::init: Couldn't load the GLOBAL_LUA code.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user