renamed function for game element in MM engine
authorHolger Schemel <info@artsoft.org>
Thu, 23 Feb 2023 11:59:36 +0000 (12:59 +0100)
committerHolger Schemel <info@artsoft.org>
Thu, 23 Feb 2023 15:04:51 +0000 (16:04 +0100)
src/game_mm/mm_game.c

index 9629e20cd620b32b4704a33fec529397c11836c6..39807089220c07c13f880f356ee1445aa7f5c137 100644 (file)
@@ -2477,7 +2477,7 @@ static void OpenExit(int x, int y)
   }
 }
 
-static void OpenSurpriseBall(int x, int y)
+static void OpenGrayBall(int x, int y)
 {
   int delay = 2;
 
@@ -3327,7 +3327,7 @@ static void GameActions_MM_Ext(void)
     else if (element == EL_EXIT_OPENING)
       OpenExit(x, y);
     else if (element == EL_GRAY_BALL_OPENING)
-      OpenSurpriseBall(x, y);
+      OpenGrayBall(x, y);
     else if (IS_ENVELOPE_OPENING(element))
       OpenEnvelope(x, y);
     else if (IS_WALL_CHANGING(element) && Store[x][y] == EL_WALL_ICE)