projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20021130-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index 9c2529bcd886ba259b41379bd1f15ddaaf67e830..2fdd2c20f12e3c868c26eb4f56c6847f3dad0de6 100644
(file)
--- a/
src/libgame/text.c
+++ b/
src/libgame/text.c
@@
-125,6
+125,9
@@
void DrawTextExt(DrawBuffer *bitmap, int x, int y,
font_size == FS_SMALL ? font.bitmap_small :
font.bitmap_small);
+ if (font_bitmap == NULL)
+ return;
+
if (font_type == FC_SPECIAL2)
font_starty = (font_size == FS_BIG ? 0 : FONT1_YSIZE) * 5;
else