summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);