diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-01 20:44:42 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-01 20:44:42 +0300 |
commit | b70a6878ee9ae38ec8bd16e8e26c378d4f02d923 (patch) | |
tree | 12ad6ea6f9ecdcfb2b9bffe827edae920bea454f | |
parent | 12c631009d86746b2723de7eff987244711c35ce (diff) | |
download | takethis-b70a6878ee9ae38ec8bd16e8e26c378d4f02d923.tar takethis-b70a6878ee9ae38ec8bd16e8e26c378d4f02d923.tar.xz takethis-b70a6878ee9ae38ec8bd16e8e26c378d4f02d923.zip |
Fix for THE BRONEVICHOK!
-rw-r--r-- | src/game.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -310,6 +310,12 @@ static void mausoleum() 255 - (delta - 500) * 256 / 500); } tt_player_draw(); + if (delta >= 500) { + SDL_Rect src = { 96, 16 * 11, 64, 48 }; + SDL_Rect dst = { 14 + ttplayer.lenin_pos - 32, + 110, 128, 96 }; + SDL_RenderCopy(ttrdr, tttxr, &src, &dst); + } SDL_Rect d = { 14, 14, 32 * 20, 32 * 16 }; SDL_RenderFillRect(ttrdr, &d); SDL_RenderPresent(ttrdr); |