summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-01 12:54:47 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-01 12:54:47 +0300
commit0e9093bfc12b0db01ae04654aec63f1ea86ffb43 (patch)
tree2d85800200561b16e13c0705fd3f68ed07b46e66 /src
parent7fbb9c444057fe3f30da0bac4d52fd8c6e8ba59b (diff)
downloadtakethis-0e9093bfc12b0db01ae04654aec63f1ea86ffb43.tar
takethis-0e9093bfc12b0db01ae04654aec63f1ea86ffb43.tar.xz
takethis-0e9093bfc12b0db01ae04654aec63f1ea86ffb43.zip
Stalin is big and real now.
Diffstat (limited to 'src')
-rw-r--r--src/player.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player.c b/src/player.c
index daf4a96..5809d95 100644
--- a/src/player.c
+++ b/src/player.c
@@ -57,10 +57,10 @@ void tt_player_draw()
double r = ttplayer.until_gulag / 10;
double f = (double)(ttplayer.until_gulag) / 3000 *
2 * 3.14159265358979323846;
- SDL_Rect s = { 0, 16 * 11, 16, 32 };
- SDL_Rect d = { ttplayer.x + r * cos(f),
- ttplayer.y - 16 + r * sin(f),
- 32, 64 };
+ SDL_Rect s = { 0, 16 * 11, 32, 48 };
+ SDL_Rect d = { ttplayer.x - 16 + r * cos(f),
+ ttplayer.y - 32 + r * sin(f),
+ 64, 96 };
SDL_RenderCopy(ttrdr, tttxr, &s, &d);
}
}