diff options
-rw-r--r-- | engines/gob/video.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp index 5684a1f443..9e1039f659 100644 --- a/engines/gob/video.cpp +++ b/engines/gob/video.cpp @@ -484,6 +484,7 @@ void Video::drawSpriteDouble(SurfaceDesc &source, SurfaceDesc &dest, void Video::drawLetter(int16 item, int16 x, int16 y, const Font &font, int16 color1, int16 color2, int16 transp, SurfaceDesc &dest) { + assert(item != 0x00); _videoDriver->drawLetter((unsigned char)item, x, y, font, color1, color2, transp, dest); } |