Don't attempt to load save game slot in PN, if no match found.
svn-id: r39218
This commit is contained in:
parent
6b76f72f32
commit
a630759d6d
1 changed files with 9 additions and 5 deletions
|
@ -379,11 +379,15 @@ void AGOSEngine_PN::opn_opcode31() {
|
|||
break;
|
||||
}
|
||||
|
||||
a = loadfl(bf);
|
||||
if (a)
|
||||
setScriptReturn(badload(a));
|
||||
else
|
||||
setScriptReturn(true);
|
||||
if (slot == -1) {
|
||||
setScriptReturn(false);
|
||||
} else {
|
||||
a = loadfl(bf);
|
||||
if (a)
|
||||
setScriptReturn(badload(a));
|
||||
else
|
||||
setScriptReturn(true);
|
||||
}
|
||||
}
|
||||
|
||||
void AGOSEngine_PN::opn_opcode32() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue