summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-12-13 08:15:47 -0800
committerVito Caputo <vcaputo@pengaru.com>2022-12-13 08:15:47 -0800
commit6a1c41149ad50d975b6ed5d7a5ef248c1ccba4cf (patch)
treec5122db4dbf96ec9bc72e436e4b759bcb8eb7ce8 /src/game.c
parent659b8b07abba9bc439fed682b274284759977fc6 (diff)
plasma-node,game: wire up and implement maga plasma
This is a bit janky on the integration side, may cleanup later. When game_t.is_maga is true, plasma-node now goes nationalist with red white and blue stripes.
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 9c3f11d..ae2cc1f 100644
--- a/src/game.c
+++ b/src/game.c
@@ -1148,7 +1148,7 @@ static void * game_init(play_t *play, int argc, char *argv[], unsigned flags)
game->sars = sars;
game->stage = sars->stage;
- game->plasma_node = plasma_node_new(&(stage_conf_t){ .parent = sars->stage, .name = "plasma", .alpha = 1 }, &sars->projection_x, &game->infections_rate_smoothed);
+ game->plasma_node = plasma_node_new(&(stage_conf_t){ .parent = sars->stage, .name = "plasma", .alpha = 1 }, &sars->projection_x, &game->infections_rate_smoothed, &game->is_maga);
game->ix2 = ix2_new(NULL, 4, 4, 2 /* support two simultaneous searches: tv_search->baby_search */);
© All Rights Reserved