aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/graphics.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2016-09-19 09:52:35 +0300
committerFilippos Karapetis2016-10-03 00:33:12 +0300
commitb7e4bcf3f20dc38ccd465acc07f42cb62557a2c9 (patch)
tree40f3d6d946804b39c2222b5cee6e0bef6125ae63 /engines/chewy/graphics.cpp
parent8970473f6c439496cc3c5d65539df680e1795916 (diff)
downloadscummvm-rg350-b7e4bcf3f20dc38ccd465acc07f42cb62557a2c9.tar.gz
scummvm-rg350-b7e4bcf3f20dc38ccd465acc07f42cb62557a2c9.tar.bz2
scummvm-rg350-b7e4bcf3f20dc38ccd465acc07f42cb62557a2c9.zip
CHEWY: Another bugfix for drawImage()
Diffstat (limited to 'engines/chewy/graphics.cpp')
-rw-r--r--engines/chewy/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/chewy/graphics.cpp b/engines/chewy/graphics.cpp
index 2369d32600..7f2b89c759 100644
--- a/engines/chewy/graphics.cpp
+++ b/engines/chewy/graphics.cpp
@@ -29,7 +29,7 @@
namespace Chewy {
void Graphics::drawImage(Common::String filename, int imageNum) {
- Resource *res = new Resource("comic.tgp");
+ Resource *res = new Resource(filename);
TBFChunk *cur = res->getChunk(imageNum);
byte *buf = res->getChunkData(imageNum);