From bda9513f009aad0c47474942bd875932494da445 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Mon, 1 Mar 2021 13:18:05 +0300 Subject: Stalin shout. --- src/game.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 599fd50..db9d712 100644 --- a/src/game.c +++ b/src/game.c @@ -15,7 +15,12 @@ static void step(int d) if (xw || yw) { ttplayer.rem += d; } + static int first_gulag = 1; if (ttplayer.tobein_gulag && ttplayer.until_gulag > 0) { + if (first_gulag) { + first_gulag = 0; + Mix_PlayMusic(stalin, -1); + } ttplayer.until_gulag -= d; if (ttplayer.until_gulag <= 0) { ttplayer.room = ttmap + 'G'; -- cgit v1.2.3