diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-03 15:52:45 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-03 15:52:45 +0300 |
commit | 92f560abade4b180809bf153cc2270949d77d32a (patch) | |
tree | 335b0ec0a4ce22597332c0838cf159470b640cf0 /src/game.c | |
parent | dbac9d0da4587ffe7a4de397a61d6d9af0ad7226 (diff) | |
download | takethis-92f560abade4b180809bf153cc2270949d77d32a.tar takethis-92f560abade4b180809bf153cc2270949d77d32a.tar.xz takethis-92f560abade4b180809bf153cc2270949d77d32a.zip |
o_O
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include "map.h" #include <SDL2/SDL.h> #include <stdio.h> +#include <math.h> int magic = 0; int lenin_size = 0; @@ -986,7 +987,7 @@ void changeroom(int out) for (i = 0; i != r->bodies_count; ++i) { tt_body *b = r->bodies + i; if ((6 == b->txrrow && b->txrcol <= 1) || - b->txrrow == 11) { + b->txrrow == 10) { SDL_Rect src = { 16 * 14, 16 * 11, 32, 32 }; SDL_Rect d = { b->x + fullx + transx - 32, b->y + fully + transy - 32, 128, 128 }; |