invader_init.c: better playability of level 4
This commit is contained in:
parent
09d7d80674
commit
126c1d0c44
|
@ -100,7 +100,7 @@ void initInvaders(Invaders * iv, unsigned char lv)
|
|||
uint16_t mask = 0x0001;
|
||||
for (x = 11; x--;)
|
||||
{
|
||||
iv->map[x][y] = (hansrow & mask) ? 3 : 1;
|
||||
iv->map[x][y] = (hansrow & mask) ? 2 : 1;
|
||||
mask <<= 1;
|
||||
}
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ void initInvaders(Invaders * iv, unsigned char lv)
|
|||
iv->pos.x = (NUM_COLS - 11) / 2;
|
||||
iv->pos.y = SPACESHIP_LINE + 1;
|
||||
|
||||
iv->speed = MIN_SPEED + 2;
|
||||
iv->speed = MIN_SPEED + 40;
|
||||
iv->direction = 1;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue