aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2009-09-15 12:15:22 +0000
committerArnaud Boutonné2009-09-15 12:15:22 +0000
commit6a9cc3b1e0675768d15ab43da5468eabd20c3179 (patch)
treef3bfcccd7ef54d7893cf1b543a62c7ac655917ee /engines/gob/draw_v2.cpp
parent28e09b9292270850d56c4cc1dbdd95ce8ead5d14 (diff)
downloadscummvm-rg350-6a9cc3b1e0675768d15ab43da5468eabd20c3179.tar.gz
scummvm-rg350-6a9cc3b1e0675768d15ab43da5468eabd20c3179.tar.bz2
scummvm-rg350-6a9cc3b1e0675768d15ab43da5468eabd20c3179.zip
- Implement _pattern variable
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern) svn-id: r44103
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index 486b12b022..d83e90a414 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -217,6 +217,7 @@ void Draw_v2::printTotText(int16 id) {
size = textItem->getSize();
dataPtr = textItem->getData();
ptr = dataPtr;
+ _pattern = 0;
bool isSubtitle = (ptr[1] & 0x80) != 0;
@@ -919,4 +920,4 @@ void Draw_v2::spriteOperation(int16 operation) {
}
}
-} // End of namespace Gob
+} // End of namespace Gob \ No newline at end of file