Fix intro crash because of bug in the data files.
svn-id: r43254
This commit is contained in:
parent
51cc821619
commit
0daad90685
1 changed files with 9 additions and 0 deletions
|
@ -397,6 +397,15 @@ void Script::start(Common::Queue<int> ¶ms) {
|
|||
int objID = params.pop();
|
||||
int animID = params.pop();
|
||||
|
||||
// Fixes bug in the data files which makes the game crash in the intro
|
||||
// TODO: This is possibly exclusive to the English version, so check for that
|
||||
if (animID == 657) {
|
||||
Common::Queue<int> tmp;
|
||||
tmp.push(objID);
|
||||
tmp.push(animID);
|
||||
this->load(tmp);
|
||||
}
|
||||
|
||||
objID -= 1;
|
||||
animID -= 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue