diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 818a4e32..12789d80 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,6 +34,8 @@ #include <libxml/parser.h> +#include <SDL/SDL_ttf.h> + #include "configuration.h" #include "game.h" #include "graphics.h" @@ -399,6 +401,7 @@ void init_engine(const Options &options) // Initialize the item shortcuts. itemShortcut = new ItemShortcut(); + TTF_Init(); gui = new Gui(graphics); state = LOGIN_STATE; /**< Initial game state */ @@ -1052,6 +1055,7 @@ int main(int argc, char *argv[]) delete network; SDLNet_Quit(); + TTF_Quit(); if (nullFile) { |