summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-03-02 00:38:55 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-03-02 00:38:55 +0300
commit5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea (patch)
treeaff9d901fa152ca1101a29ff16cf96bfce168144 /src
parentb70a6878ee9ae38ec8bd16e8e26c378d4f02d923 (diff)
downloadtakethis-5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea.tar
takethis-5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea.tar.xz
takethis-5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea.zip
Fix & GULAG
Diffstat (limited to 'src')
-rw-r--r--src/game.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 531e9f9..9e81e16 100644
--- a/src/game.c
+++ b/src/game.c
@@ -226,6 +226,8 @@ static void gotogulag()
roomchanged = 1;
ttplayer.room = ttmap + 'G';
ttplayer.zhiv_lenin = 0;
+ ttplayer.x = 32 * 13;
+ ttplayer.y = 32 * 11;
}
SDL_SetRenderDrawColor(ttrdr, 0, 0, 0,
255 - (delta - 4200) * 256 / 800);
@@ -407,7 +409,7 @@ void changeroom(int out)
}
SDL_RenderClear(ttrdr);
int tox = (out == 3) - (out == 1);
- int toy = (out == 0) - (out == 4);
+ int toy = (out == 0) - (out == 2);
int transx = tox * (delta * TT_ROOM_W * 32 / 500);
int transy = toy * (delta * TT_ROOM_H * 32 / 500);
int playx = tox * (delta * -32 / 500);