diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-10-17 20:15:19 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-10-17 20:15:19 -0700 |
commit | 6d0078cb9d2b96ca0f26196be295307352c3d10f (patch) | |
tree | c5eafa7732367e48ba261a1a735bc51fcf72b915 /src/baby-node.h | |
parent | 60d28d1309cf37942363d10f7d135b02a4c82078 (diff) |
game: propagate virus for newly infected babies
The existing code wouldn't handle when newly infected babies
overlapped with other uninfected babies, creating potential
outcomes where a stationary virus is left visibly touching an
uninfected baby.
This commit puts new infections on a list to be processed like
viruses after performing the per-virus search creating the new
infections. Now when a newly infected baby is touching other
babies, those other babies become immediately infected as well.
Diffstat (limited to 'src/baby-node.h')
0 files changed, 0 insertions, 0 deletions