diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-02 23:07:18 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-02 23:07:18 +0300 |
commit | d68c730efef80a95682c986f586c35fde1254e76 (patch) | |
tree | 857e794615d0f9f8f3e92b893e67de4d7ac5d703 /src | |
parent | 0effd8a331b66c3e7ee2411e0675584215367feb (diff) | |
download | takethis-d68c730efef80a95682c986f586c35fde1254e76.tar takethis-d68c730efef80a95682c986f586c35fde1254e76.tar.xz takethis-d68c730efef80a95682c986f586c35fde1254e76.zip |
HADOUKEN!!! v2 ~_~
Diffstat (limited to 'src')
-rw-r--r-- | src/game.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |