diff options
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r-- | src/render/sdlgraphics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index db2d15ae4..771d000d8 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -821,6 +821,8 @@ void SDLGraphics::calcWindow(ImageCollection *const vertCol, ImageVertexes *vert = nullptr; Image *const image = imgRect.grid[4]; + if (!image) + return; if (vertCol->currentImage != image) { vert = new ImageVertexes(); |