projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver]
/
hacks
/
pacman.c
diff --git
a/hacks/pacman.c
b/hacks/pacman.c
index cf708f4af68c63ea700f2aeac442d929d4578886..01a83831b1e9e85b4798df19c42c7ad3d73f138b 100644
(file)
--- a/
hacks/pacman.c
+++ b/
hacks/pacman.c
@@
-276,11
+276,9
@@
check_death (ModeInfo * mi, pacmangamestruct * pp)
Display *display = MI_DISPLAY (mi);
Window window = MI_WINDOW (mi);
unsigned int ghost;
Display *display = MI_DISPLAY (mi);
Window window = MI_WINDOW (mi);
unsigned int ghost;
- int alldead;
if (pp->pacman.aistate == ps_dieing) return;
if (pp->pacman.aistate == ps_dieing) return;
- alldead = 1;
for (ghost = 0; ghost < pp->nghosts; ghost++) {
/* The ghost have to be scared before you can kill them */
for (ghost = 0; ghost < pp->nghosts; ghost++) {
/* The ghost have to be scared before you can kill them */
@@
-306,11
+304,7
@@
check_death (ModeInfo * mi, pacmangamestruct * pp)
}
continue;
}
}
continue;
}
-
- alldead = 0;
}
}
-
-
}
/* Resets state of ghosts + pacman. Creates a new level, draws that level. */
}
/* Resets state of ghosts + pacman. Creates a new level, draws that level. */
@@
-831,8
+825,6
@@
draw_pacman_sprite (ModeInfo * mi)
pp->pacman.oldcf = pp->pacman.cf;
pp->pacman.oldrf = pp->pacman.rf;
}
pp->pacman.oldcf = pp->pacman.cf;
pp->pacman.oldrf = pp->pacman.rf;
}
- old_mask_dir = dir;
- old_mask_mouth = pp->pm_mouth;
}
#if 0
}
#if 0