summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c5
1 files changed, 5 insertions, 0 deletions
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';