Made GPL interpreter exit on both gplend and exit instructions.

svn-id: r42241
This commit is contained in:
Denis Kasak 2009-07-07 20:46:26 +00:00
parent d37d49e50c
commit 318d406242

View File

@ -458,7 +458,7 @@ int Script::run(GPL2Program program, uint16 offset) {
(this->*(cmd->_handler))(params);
}
} while (cmd->_name != "gplend");
} while (cmd->_name != "gplend" || cmd->_name != "exit");
return 0;
}