diff --git a/midend.c b/midend.c index 2e8b7f6..41d562a 100644 --- a/midend.c +++ b/midend.c @@ -109,6 +109,9 @@ midend *midend_new(frontend *fe, const game *ourgame, me->nstates = me->statesize = me->statepos = 0; me->states = NULL; me->params = ourgame->default_params(); + me->game_id_change_notify_function = NULL; + me->game_id_change_notify_ctx = NULL; + /* * Allow environment-based changing of the default settings by * defining a variable along the lines of `NET_DEFAULT=25x25w'