CMI: Maybe fix for end credits crash
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
|Cc:||Game:||Monkey Island 3|
While testing the blast text changes in the object line patch, I encountered a crash in the CMI end credits a few times. I could never find a reliable way to trigger it - it never happened unless I used the scalers - but I was able to catch it in the debugger once.
I think what's happening is that NutRenderer::drawChar() is drawing outside the buffer. The y + ty < 0 case that I added definitely does happen as the text scrolls off the screen. I'm not entirely sure about this, but at least it shouldn't hurt.
Ticket imported from: #713149. Ticket imported from: patches/297.