invader_init.c: better playability of level 4

This commit is contained in:
Christian Kroll 2014-09-04 02:14:13 +02:00
parent 09d7d80674
commit 126c1d0c44
1 changed files with 2 additions and 2 deletions

View File

@ -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;