From 0e9093bfc12b0db01ae04654aec63f1ea86ffb43 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Mon, 1 Mar 2021 12:54:47 +0300 Subject: Stalin is big and real now. --- src/player.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3