diff options
author | Colin Snover | 2016-07-26 19:56:12 -0500 |
---|---|---|
committer | Colin Snover | 2016-08-01 10:37:14 -0500 |
commit | 4e31c9aaf4aa36b6fea039d1779317e6a943e68b (patch) | |
tree | 320e073a08533838bf61dd51620f79b5da9fccf0 /engines/sci/graphics/celobj32.cpp | |
parent | 0f535e79f59c24545f40d52cf0cf25a3818cfffd (diff) | |
download | scummvm-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/graphics/celobj32.cpp')
0 files changed, 0 insertions, 0 deletions