Ticket #8186: remove-object.diff
File remove-object.diff, 570 bytes (added by , 22 years ago) |
---|
-
scummvm/scumm/object.cpp
diff -ur ScummVM-cvs20030304/scummvm/scumm/object.cpp ScummVM-cvs20030304+hack/scummvm/scumm/object.cpp
old new 778 778 for (i = 1; i < _numLocalObjects; i++) { 779 779 if (_objs[i].obj_nr == (uint16)obj) { 780 780 if (_objs[i].width != 0) { 781 for (j = 0; j < _objs[i].width ; j++) {781 for (j = 0; j < _objs[i].width >> 3; j++) { 782 782 strip = (_objs[i].x_pos >> 3) + j; 783 783 784 784 // Clip value