aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/talk.cpp
diff options
context:
space:
mode:
authorStrangerke2011-09-16 23:54:08 +0200
committerStrangerke2011-09-16 23:54:08 +0200
commit0668a56f69797d26ab074d6949ed6c7870791e53 (patch)
treee9569eeb0857360e5fcca9810ece5849c2d93bbf /engines/cge/talk.cpp
parent938c08ae589eaa9b0cafc02478997f34bf7d598d (diff)
downloadscummvm-rg350-0668a56f69797d26ab074d6949ed6c7870791e53.tar.gz
scummvm-rg350-0668a56f69797d26ab074d6949ed6c7870791e53.tar.bz2
scummvm-rg350-0668a56f69797d26ab074d6949ed6c7870791e53.zip
CGE: Move _vga to CGEEngine
Diffstat (limited to 'engines/cge/talk.cpp')
-rw-r--r--engines/cge/talk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/talk.cpp b/engines/cge/talk.cpp
index 6cbeb6d940..a842e611ac 100644
--- a/engines/cge/talk.cpp
+++ b/engines/cge/talk.cpp
@@ -179,7 +179,7 @@ Bitmap *Talk::box(uint16 w, uint16 h) {
q -= w;
}
}
- return new Bitmap(w, h, b);
+ return new Bitmap(_vm, w, h, b);
}
void Talk::putLine(int line, const char *text) {
@@ -237,7 +237,7 @@ InfoLine::InfoLine(CGEEngine *vm, uint16 w) : Talk(vm), _oldText(NULL), _vm(vm)
_ts[1] = NULL;
}
- _ts[0] = new Bitmap(w, kFontHigh, kTextColBG);
+ _ts[0] = new Bitmap(_vm, w, kFontHigh, kTextColBG);
setShapeList(_ts);
}