summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-02 23:07:18 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-02 23:07:18 +0300
commitd68c730efef80a95682c986f586c35fde1254e76 (patch)
tree857e794615d0f9f8f3e92b893e67de4d7ac5d703 /src
parent0effd8a331b66c3e7ee2411e0675584215367feb (diff)
downloadtakethis-d68c730efef80a95682c986f586c35fde1254e76.tar
takethis-d68c730efef80a95682c986f586c35fde1254e76.tar.xz
takethis-d68c730efef80a95682c986f586c35fde1254e76.zip
HADOUKEN!!! v2 ~_~
Diffstat (limited to 'src')
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index eb25197..cf2d415 100644
--- a/src/game.c
+++ b/src/game.c
@@ -405,9 +405,9 @@ static void step(int d)
if (!lenin_until_hadouken) {
b->rate = 75 + (rand() % 50 - 25);
b->yvel = rand() % 100 - 50;
- b->yvel = b->yvel < 0 ? b->yvel - 100 : b->yvel + 100;
+ b->yvel = b->yvel < 0 ? b->yvel - 150 : b->yvel + 150;
b->xvel = rand() % 100 - 50;
- b->xvel = b->yvel < 0 ? b->yvel - 100 : b->yvel + 100;
+ b->xvel = b->yvel < 0 ? b->yvel - 150 : b->yvel + 150;
Mix_PlayChannel(-1, tthadouken, 0);
lenin_until_hadouken = 3;
} else {