From 5476be363106ec040afa12b34ace121875bbfcca Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Thu, 19 Mar 2020 02:46:25 +0100 Subject: [PATCH] libsuperderpy: Fix compilation failure when using mouse emulation mode --- src/libsuperderpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsuperderpy.c b/src/libsuperderpy.c index 7026b79..207fb8d 100644 --- a/src/libsuperderpy.c +++ b/src/libsuperderpy.c @@ -212,7 +212,7 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char* } #ifdef LIBSUPERDERPY_MOUSE_EMULATION - if (game->touch) { + if (game->input.available.touch) { al_set_mouse_emulation_mode(ALLEGRO_MOUSE_EMULATION_TRANSPARENT); } #endif