fixed bug with wind not working in R'n'D levels using EM engine
authorHolger Schemel <info@artsoft.org>
Sat, 4 Mar 2023 11:27:26 +0000 (12:27 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 4 Mar 2023 11:27:26 +0000 (12:27 +0100)
src/files.c

index 6a4c5f62623e4654fcd5441204bae12b8afc3771..834154c8708c7c85e331984851c602dabaa70f4c 100644 (file)
@@ -3713,6 +3713,7 @@ static void CopyNativeLevel_RND_to_EM(struct LevelInfo *level)
   cav->lenses_time             = level->lenses_time;
   cav->magnify_time            = level->magnify_time;
 
   cav->lenses_time             = level->lenses_time;
   cav->magnify_time            = level->magnify_time;
 
+  cav->wind_time = 9999;
   cav->wind_direction =
     map_direction_RND_to_EM(level->wind_direction_initial);
 
   cav->wind_direction =
     map_direction_RND_to_EM(level->wind_direction_initial);