summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game.c b/src/game.c
index cf2d415..0ab96d6 100644
--- a/src/game.c
+++ b/src/game.c
@@ -396,21 +396,23 @@ static void step(int d)
b->xrem = 0;
b->yrem = 0;
b->rem = 0;
- b->txrrow = 8;
- b->txrcol = rand() % 4;
b->anim = 4;
b->collision_act = colact_instgulag;
b->msg = 0;
b->msglen = 0;
if (!lenin_until_hadouken) {
+ b->txrrow = 7;
+ b->txrcol = 2 + rand() % 2;
b->rate = 75 + (rand() % 50 - 25);
b->yvel = rand() % 100 - 50;
- b->yvel = b->yvel < 0 ? b->yvel - 150 : b->yvel + 150;
+ b->yvel = b->yvel < 0 ? b->yvel - 125 : b->yvel + 125;
b->xvel = rand() % 100 - 50;
- b->xvel = b->yvel < 0 ? b->yvel - 150 : b->yvel + 150;
+ b->xvel = b->yvel < 0 ? b->yvel - 125 : b->yvel + 125;
Mix_PlayChannel(-1, tthadouken, 0);
lenin_until_hadouken = 3;
} else {
+ b->txrrow = 8;
+ b->txrcol = rand() % 4;
b->rate = 150 + (rand() % 50 - 25);
b->yvel = rand() % 100 - 50;
b->yvel = b->yvel < 0 ? b->yvel - 50 : b->yvel + 50;