diff -ur ScummVM-cvs20021012/scummvm/scumm/actor.cpp ScummVM-cvs20021012+hack/scummvm/scumm/actor.cpp
old
|
new
|
|
373 | 373 | scale = resptr[theY]; |
374 | 374 | } |
375 | 375 | |
| 376 | // FIXME - Quick fix to ft's fuel tower bug (by yazoo) |
| 377 | // |
| 378 | // Ben's Y position can be anything between 272 and 398 inclusive |
| 379 | // (which by the way means that we're always looking at the same |
| 380 | // element in the scale table... hmmm...) |
| 381 | // |
| 382 | // When standing at the bottom of the ladder, Ben's Y position is |
| 383 | // 356, and by the looks of it he ought to be unscaled there. |
| 384 | |
| 385 | if (scale == 1 && _vm->_currentRoom == 76) { |
| 386 | scale = 0xff; |
| 387 | if (y < 356) |
| 388 | scale -= 2 * (356 - y); |
| 389 | } |
| 390 | |
376 | 391 | if (scale > 255) |
377 | 392 | warning("Actor %d at %d, scale %d out of range", number, y, scale); |
378 | 393 | |
379 | | // FIXME - Quick fix to ft's fuel tower bug (by yazoo) |
380 | | if (scale == 1 && _vm->_currentRoom == 76) |
381 | | scale = 0xFF; |
382 | | |
383 | 394 | scalex = (byte)scale; |
384 | 395 | scaley = (byte)scale; |
385 | 396 | } |