SCI/newgui: kDisposeWindow - changed to reflect actual sierra sci behaviour

svn-id: r45683
This commit is contained in:
Martin Kiewitz 2009-11-05 07:27:36 +00:00
parent 20a3c484d5
commit b64afbdac0

View File

@ -913,9 +913,9 @@ reg_t kDrawCel(EngineState *s, int argc, reg_t *argv) {
reg_t kDisposeWindow(EngineState *s, int argc, reg_t *argv) {
int goner_nr = argv[0].toSint16();
bool reanimate = false;
bool reanimate = true;
if ((argc == 2) && (argv[1].isNull()))
reanimate = true;
reanimate = false;
s->_gui->disposeWindow(goner_nr, reanimate);
return s->r_acc;