aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/controls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/controls.cpp')
-rw-r--r--engines/sword2/controls.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword2/controls.cpp b/engines/sword2/controls.cpp
index 6ce447a4cc..3611294eb8 100644
--- a/engines/sword2/controls.cpp
+++ b/engines/sword2/controls.cpp
@@ -477,6 +477,8 @@ void Widget::createSurfaceImage(int state, uint32 res, int x, int y, uint32 pc)
// Points to just after frame header, ie. start of sprite data
_sprites[state].data = frame + FrameHeader::size();
+ _sprites[state].colorTable = colTablePtr;
+ _sprites[state].isText = false;
_vm->_screen->createSurface(&_sprites[state], &_surfaces[state]._surface);
_surfaces[state]._original = true;