fixed pacman graphics for Mirror Magic game engine
[rocksndiamonds.git] / src / game_mm / mm_tools.c
index dbe6ab212f74663bacd540a3611d394eff27d659..e037aac9cc838af2da1f0ecc7be98e3c16a92795 100644 (file)
@@ -271,7 +271,7 @@ void DrawScreenElementExt_MM(int x, int y, int dx, int dy, int element,
 
   if (element == EL_PACMAN)
   {
-    graphic += 4 * !phase2;
+    graphic = (phase2 ? IMG_MM_PACMAN_RIGHT : IMG_MM_PACMAN_EATING_RIGHT);
 
     if (dir == MV_UP)
       graphic += 1;