aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorColin Snover2016-07-26 19:56:12 -0500
committerColin Snover2016-08-01 10:37:14 -0500
commit4e31c9aaf4aa36b6fea039d1779317e6a943e68b (patch)
tree320e073a08533838bf61dd51620f79b5da9fccf0 /engines/sci/engine
parent0f535e79f59c24545f40d52cf0cf25a3818cfffd (diff)
downloadscummvm-rg350-4e31c9aaf4aa36b6fea039d1779317e6a943e68b.tar.gz
scummvm-rg350-4e31c9aaf4aa36b6fea039d1779317e6a943e68b.tar.bz2
scummvm-rg350-4e31c9aaf4aa36b6fea039d1779317e6a943e68b.zip
SCI32: Don't crash on zero-dimension show rects
In the original engine this would have simply resulted in no draw, but ScummVM is more strict about it. It is not 100% clear whether these are normal and should be allowed or not, so for the moment we'll emit a warning whenever a zero-dimension show rect is seen. For now they only seem to be generated by plane transitions, and these zero-dimension screen items cannot simply be omitted because the 2.1early transitions code requires a fixed number of screen items per step.
Diffstat (limited to 'engines/sci/engine')
0 files changed, 0 insertions, 0 deletions