summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-01 20:44:42 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-01 20:44:42 +0300
commitb70a6878ee9ae38ec8bd16e8e26c378d4f02d923 (patch)
tree12ad6ea6f9ecdcfb2b9bffe827edae920bea454f
parent12c631009d86746b2723de7eff987244711c35ce (diff)
downloadtakethis-b70a6878ee9ae38ec8bd16e8e26c378d4f02d923.tar
takethis-b70a6878ee9ae38ec8bd16e8e26c378d4f02d923.tar.xz
takethis-b70a6878ee9ae38ec8bd16e8e26c378d4f02d923.zip
Fix for THE BRONEVICHOK!
-rw-r--r--src/game.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index c461d76..531e9f9 100644
--- a/src/game.c
+++ b/src/game.c
@@ -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);