cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)

svn-id: r9175
This commit is contained in:
Max Horn 2003-07-24 17:44:00 +00:00
parent be7597a8c9
commit becd70d243
11 changed files with 45 additions and 44 deletions

View file

@ -1340,12 +1340,8 @@ void Scumm_v2::o2_beginOverride() {
void Scumm_v2::o2_chainScript() {
int data = getVarOrDirectByte(0x80);
int cur = _currentScript;
vm.slot[cur].number = 0;
vm.slot[cur].status = 0;
stopScript(vm.slot[_currentScript].number);
_currentScript = 0xFF;
runScript(data, 0, 0, 0);
}