back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/pac.c
diff options
context:
space:
mode:
Diffstat (limited to 'pac.c')
-rw-r--r--pac.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pac.c b/pac.c
index c3fcbb7..2aac83c 100644
--- a/pac.c
+++ b/pac.c
@@ -140,9 +140,12 @@ void catch_pac(struct pacman *pac)
{
--pac->lives;
erase_life(pac->lives);
- if(pac->lives >= 1) {
+ pac->direction = none;
+#if 0
+ if(pac->lives >= 0) {
pac->position.y = pac_y;
pac->position.x = pac_x;
pac->direction = none;
}
+#endif
}