diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-01 13:18:05 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-01 13:18:05 +0300 |
commit | bda9513f009aad0c47474942bd875932494da445 (patch) | |
tree | 37743dd6fafa6064490a1c510642d6d21b406306 /src/game.c | |
parent | c47781a9d908536ef3283d4a57c91003013f05d3 (diff) | |
download | takethis-bda9513f009aad0c47474942bd875932494da445.tar takethis-bda9513f009aad0c47474942bd875932494da445.tar.xz takethis-bda9513f009aad0c47474942bd875932494da445.zip |
Stalin shout.
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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'; |