summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/client/font.c2
-rw-r--r--src/client/game.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client/font.c b/src/client/font.c
index 7e95286..07b98f4 100755
--- a/src/client/font.c
+++ b/src/client/font.c
@@ -56,6 +56,8 @@ void drawFont(char *s, int x, int y, int r, int g, int b)
SDL_Surface *p;
SDL_Color farba_pisma = {r, g, b, 0};
+ //printf("drawFont %s\n", s);
+
assert( s != NULL );
p = getSDL_Screen();
diff --git a/src/client/game.c b/src/client/game.c
index 66e179c..b82dd4a 100644
--- a/src/client/game.c
+++ b/src/client/game.c
@@ -46,7 +46,7 @@ static void initGame()
createHomeDirector();
initSDL();
-
+ initFont("DejaVuSans.ttf", 16);
initLayer();
initImageData();
#ifndef NO_SOUND