aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-01-20 21:58:26 +0000
committerGregory Montoir2004-01-20 21:58:26 +0000
commitff43b1f8d52412441123d70f18309a6770976f7c (patch)
tree83858f39a409add219b8654c3a58f6bff87150b2 /queen/graphics.cpp
parentd26fd46cd013459c37d208a8e7cda08e4e434073 (diff)
downloadscummvm-rg350-ff43b1f8d52412441123d70f18309a6770976f7c.tar.gz
scummvm-rg350-ff43b1f8d52412441123d70f18309a6770976f7c.tar.bz2
scummvm-rg350-ff43b1f8d52412441123d70f18309a6770976f7c.zip
- fixed bug #880415 (only setup bam scene after all _vm->update() calls)
- constness svn-id: r12564
Diffstat (limited to 'queen/graphics.cpp')
-rw-r--r--queen/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp
index b831e7c7c4..834e8d9952 100644
--- a/queen/graphics.cpp
+++ b/queen/graphics.cpp
@@ -200,7 +200,7 @@ void Graphics::setupMouseCursor() {
_vm->display()->setMouseCursor(bf->data, bf->width, bf->height);
}
-void Graphics::drawBob(const BobSlot *bs, BobFrame *bf, int16 x, int16 y) {
+void Graphics::drawBob(const BobSlot *bs, const BobFrame *bf, int16 x, int16 y) {
debug(9, "Graphics::drawBob(%d, %d, %d)", bs->frameNum, x, y);
uint16 w, h;
@@ -410,7 +410,7 @@ BobSlot *Graphics::bob(int index) {
}
void Graphics::setBobText(
- BobSlot *pbs,
+ const BobSlot *pbs,
const char *text,
int textX, int textY,
int color, int flags) {