summaryrefslogtreecommitdiff
path: root/src/gfx/gfx-hungrycat.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-10-17 20:15:19 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-10-17 20:15:19 -0700
commit6d0078cb9d2b96ca0f26196be295307352c3d10f (patch)
treec5eafa7732367e48ba261a1a735bc51fcf72b915 /src/gfx/gfx-hungrycat.h
parent60d28d1309cf37942363d10f7d135b02a4c82078 (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/gfx/gfx-hungrycat.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved