Disable cursors in standalone mode

This commit is contained in:
asarium committed 2016-09-09 10:13:42 +02:00
1 parent 89bdef89dc
commit e7add258b0
3 files changed
+12 -4

No files matched your search

+3
View File
@@ -12987,6 +12987,9 @@ ADE_FUNC(setCursorImage, l_Mouse, "Image filename", "Sets mouse cursor image, an
if(!mouse_inited || !Gr_inited)
return ade_set_error(L, "b", false);
if (Is_standalone)
return ade_set_error(L, "b", false);
char *s = NULL;
enum_h *u = NULL; // This isn't used anymore