aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 3348ed4973..5de034eb4f 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -46,6 +46,7 @@
#include "sci/graphics/gui32.h"
#include "sci/graphics/cursor.h"
#include "sci/graphics/screen.h"
+#include "sci/graphics/paint.h"
#include "sci/graphics/palette.h"
#include "sci/parser/vocabulary.h"
@@ -1075,7 +1076,7 @@ bool Console::cmdDrawPic(int argc, const char **argv) {
uint16 resourceId = atoi(argv[1]);
- _engine->_gamestate->_gui->drawPicture(resourceId, 100, false, false, false, 0);
+ _engine->_gamestate->_gfxPaint->kernelDrawPicture(resourceId, 100, false, false, false, 0);
_engine->_gamestate->_gfxScreen->copyToScreen();
return true;
}