diff options
author | Bertrand Augereau | 2011-07-20 21:58:14 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-07-23 18:23:39 +0200 |
commit | 3d518d3d2c16e8b5b2a15978f967572b11aac861 (patch) | |
tree | 4498f050b8cb296d91fbb25a49a689f4e743df41 | |
parent | 8a5c2f9dc307e3338ac1e8e379517bcf85139db8 (diff) | |
download | scummvm-rg350-3d518d3d2c16e8b5b2a15978f967572b11aac861.tar.gz scummvm-rg350-3d518d3d2c16e8b5b2a15978f967572b11aac861.tar.bz2 scummvm-rg350-3d518d3d2c16e8b5b2a15978f967572b11aac861.zip |
DREAMWEB: Cleaning of 'printasprite'
-rw-r--r-- | engines/dreamweb/stubs.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 36fda90fb6..8eeece4edd 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1021,10 +1021,15 @@ void DreamGenContext::printasprite(const Sprite *sprite) { di = ax + data.word(kMapadx); } - ax = sprite->b15; + uint8 c; if (sprite->b29 != 0) - ah = 8; - showframe(); + c = 8; + else + c = 0; + uint8 width, height; + showframe(es, ds, di, bx, sprite->b15, c, &width, &height); + cl = width; + ch = height; bx = pop(); es = pop(); |