added not using global animation mouse pointer when reloading artwork
authorHolger Schemel <info@artsoft.org>
Wed, 24 Apr 2019 18:11:18 +0000 (20:11 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 24 Apr 2019 18:11:18 +0000 (20:11 +0200)
src/anim.c

index 454389d573d4b2bd757fec251f758f8b4ceaf261..132ba13b4c490736c706b8cfe7310659107186d5 100644 (file)
@@ -887,7 +887,9 @@ static boolean SetGlobalAnimPart_Viewport(struct GlobalAnimPartControlInfo *part
 
     part->drawing_stage = DRAW_GLOBAL_ANIM_STAGE_2;
 
-    gfx.cursor_mode_override = CURSOR_NONE;
+    // do not use global animation mouse pointer when reloading artwork
+    if (global.anim_status != GAME_MODE_LOADING)
+      gfx.cursor_mode_override = CURSOR_NONE;
   }
   else if (part->control_info.class == get_hash_from_key("door_1"))
   {