projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed pacman graphics for Mirror Magic game engine
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_tools.c
diff --git
a/src/game_mm/mm_tools.c
b/src/game_mm/mm_tools.c
index dbe6ab212f74663bacd540a3611d394eff27d659..e037aac9cc838af2da1f0ecc7be98e3c16a92795 100644
(file)
--- a/
src/game_mm/mm_tools.c
+++ b/
src/game_mm/mm_tools.c
@@
-271,7
+271,7
@@
void DrawScreenElementExt_MM(int x, int y, int dx, int dy, int element,
if (element == EL_PACMAN)
{
if (element == EL_PACMAN)
{
- graphic
+= 4 * !phase2
;
+ graphic
= (phase2 ? IMG_MM_PACMAN_RIGHT : IMG_MM_PACMAN_EATING_RIGHT)
;
if (dir == MV_UP)
graphic += 1;
if (dir == MV_UP)
graphic += 1;