diff options
Diffstat (limited to 'engines/startrek/graphics.cpp')
-rw-r--r-- | engines/startrek/graphics.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/startrek/graphics.cpp b/engines/startrek/graphics.cpp index d2e626bc4e..31056c25fd 100644 --- a/engines/startrek/graphics.cpp +++ b/engines/startrek/graphics.cpp @@ -37,6 +37,11 @@ Graphics::Graphics(StarTrekEngine *vm) : _vm(vm), _egaMode(false) { _egaData = nullptr; _lutData = nullptr; + for (int i = 0; i < 32; ++i) { + _sprites[i] = nullptr; + _pushedSprites[i] = nullptr; + } + _screenRect = Common::Rect(SCREEN_WIDTH, SCREEN_HEIGHT); if (ConfMan.hasKey("render_mode")) |