diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-02 00:38:55 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-02 00:38:55 +0300 |
commit | 5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea (patch) | |
tree | aff9d901fa152ca1101a29ff16cf96bfce168144 /src | |
parent | b70a6878ee9ae38ec8bd16e8e26c378d4f02d923 (diff) | |
download | takethis-5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea.tar takethis-5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea.tar.xz takethis-5b5afc1996fc1a0cd5ea3e4e7db184da839b3eea.zip |
Fix & GULAG
Diffstat (limited to 'src')
-rw-r--r-- | src/game.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |