summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-02 23:28:47 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-02 23:28:47 +0300
commit13ef68ec8beb98b687a6435033a5a90196c4198b (patch)
treec87f50e407708e47d1e644ecd6622658f1ed3741 /src
parenta6ccade24bc7cf85bd8aa36c3851001325e17978 (diff)
downloadtakethis-13ef68ec8beb98b687a6435033a5a90196c4198b.tar
takethis-13ef68ec8beb98b687a6435033a5a90196c4198b.tar.xz
takethis-13ef68ec8beb98b687a6435033a5a90196c4198b.zip
Some balancing.
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 0ab96d6..c3a81d4 100644
--- a/src/game.c
+++ b/src/game.c
@@ -404,9 +404,9 @@ static void step(int d)
b->txrrow = 7;
b->txrcol = 2 + rand() % 2;
b->rate = 75 + (rand() % 50 - 25);
- b->yvel = rand() % 100 - 50;
+ b->yvel = rand() % 50 - 25;
b->yvel = b->yvel < 0 ? b->yvel - 125 : b->yvel + 125;
- b->xvel = rand() % 100 - 50;
+ b->xvel = rand() % 50 - 25;
b->xvel = b->yvel < 0 ? b->yvel - 125 : b->yvel + 125;
Mix_PlayChannel(-1, tthadouken, 0);
lenin_until_hadouken = 3;