libsuperderpy: Fix compilation failure when using mouse emulation mode

This commit is contained in:
Sebastian Krzyszkowiak 2020-03-19 02:46:25 +01:00
parent 21f7424f89
commit 5476be3631
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -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