diff --git a/src/eressea.c b/src/eressea.c index 117895f6e..0b5d2f6b4 100644 --- a/src/eressea.c +++ b/src/eressea.c @@ -35,6 +35,7 @@ #include #include +#include #include void game_done(void) @@ -65,6 +66,7 @@ void game_done(void) void game_init(void) { dblib_open(); + errno = 0; kernel_init(); register_triggers(); register_xmas();