diff --git a/source/component/map.py b/source/component/map.py index 6a610af..60f16af 100755 --- a/source/component/map.py +++ b/source/component/map.py @@ -365,7 +365,7 @@ LITTLE_GAME_MAP_DATA = ( c.CHOOSEBAR_TYPE: c.CHOOSEBAR_BOWLING, c.SHOVEL: 0, c.SPAWN_ZOMBIES:c.SPAWN_ZOMBIES_AUTO, - c.INCLUDED_ZOMBIES: ( c.SCREEN_DOOR_ZOMBIE,), + c.INCLUDED_ZOMBIES: ( c.POLE_VAULTING_ZOMBIE,), c.NUM_FLAGS:3, c.CARD_POOL: { c.WALLNUTBOWLING: 0, c.REDWALLNUTBOWLING: 0, diff --git a/source/state/level.py b/source/state/level.py index cca8783..6da90d3 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -1196,7 +1196,7 @@ class Level(tool.State): and (pg.sprite.collide_mask(zombie, self.cars[i]))): self.cars[i].setWalk() if (pg.sprite.collide_mask(zombie, self.cars[i]) or - self.cars[i].rect.x <= zombie.rect.centerx <= self.cars[i].rect.right): + self.cars[i].rect.x <= zombie.rect.right <= self.cars[i].rect.right): zombie.health = 0 if self.cars[i].dead: self.cars[i] = None @@ -1417,7 +1417,6 @@ class Level(tool.State): for i in range(self.map_y_len): for zombie in self.zombie_groups[i]: if zombie.rect.right < -20 and (not zombie.losthead) and (zombie.state != c.DIE): - print(zombie.rect.right, zombie.losthead, zombie.state,zombie.name) return True return False