renamed o2_matrixOps -> o2_setBoxFlags; V2 'objY' fixes; cleanup

svn-id: r7739
This commit is contained in:
Max Horn 2003-05-20 16:13:34 +00:00
parent 93d29f2f9a
commit 3e3d6f1360
4 changed files with 28 additions and 25 deletions

View file

@ -732,7 +732,7 @@ void Scumm_v5::o5_divide() {
}
void Scumm_v5::o5_doSentence() {
int a, b;
int a;
SentenceTab *st;
a = getVarOrDirectByte(0x80);
@ -747,12 +747,8 @@ void Scumm_v5::o5_doSentence() {
st->verb = a;
st->objectA = getVarOrDirectWord(0x40);
b = st->objectB = getVarOrDirectWord(0x20);
if (b == 0) {
st->unk2 = 0;
} else {
st->unk2 = 1;
}
st->objectB = getVarOrDirectWord(0x20);
st->unk2 = (st->objectB != 0);
st->freezeCount = 0;
}