diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/scrolls2.cpp | 3 | ||||
-rw-r--r-- | engines/avalanche/trip6.cpp | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/engines/avalanche/scrolls2.cpp b/engines/avalanche/scrolls2.cpp index 0d578c727e..ba0a6c4972 100644 --- a/engines/avalanche/scrolls2.cpp +++ b/engines/avalanche/scrolls2.cpp @@ -620,7 +620,6 @@ void Scrolls::solidify(byte n) { void Scrolls::calldrivers() { uint16 fv; byte nn; - char nnn; bool mouthnext; bool call_spriterun; // Only call sprite_run the FIRST time. // bool was_virtual; // Was the mouse cursor virtual on entry to this proc? @@ -760,7 +759,7 @@ void Scrolls::calldrivers() { break; case 11: nn = 1; - for (nnn = 0; nnn < numobjs; nnn++) { + for (byte nnn = 0; nnn < numobjs; nnn++) { if (_vm->_gyro->dna.obj[nnn]) { nn++; display(_vm->_gyro->get_better(nnn) + ", " + kControlToBuffer); diff --git a/engines/avalanche/trip6.cpp b/engines/avalanche/trip6.cpp index 0c320dd186..790619e72a 100644 --- a/engines/avalanche/trip6.cpp +++ b/engines/avalanche/trip6.cpp @@ -1119,11 +1119,9 @@ void Trip::apped(byte trn, byte np) { rwsp(trn, _vm->_gyro->peds[np].dir); } - - #if 0 function overlap(x1,y1,x2,y2,x3,y3,x4,y4:uint16):bool; - begin { By De Morgan's law: } + begin // By De Morgan's law: overlap:=(x2>=x3) and (x4>=x1) and (y2>=y3) and (y4>=y1); end; #endif |