Skip to content

Commit

Permalink
game: Don't spawn welder on top of financial report on tournament mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Jul 30, 2024
1 parent 9807e6f commit d23fe65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/scenes/vs.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ int vs_create(scene *scene) {
// he also can't be on the same 'level'
// but he has 10 possible starting positions
while(((welderpos % 2) == (scientistpos % 2) && player2->pilot) || (scientistpos < 2 && welderpos < 2) ||
(scientistpos > 1 && welderpos > 1 && welderpos < 4)) {
(scientistpos > 1 && welderpos > 1)) {
welderpos = rand_int(6);
if(!player2->pilot && welderpos % 2 == 1) {
// no second HAR, so force the welder to a position on the left gantry
Expand Down

0 comments on commit d23fe65

Please sign in to comment.