summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index ffde400..664fa0b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -1196,11 +1196,11 @@ void changeroom(int out)
SDL_SetTextureColorMod(tttxr, 255, 0, 0);
SDL_RenderCopy(ttrdr, tttxr, &src, &d);
}
- if (ttplayer.room == ttmap + 'G') {
+ if (ttplayer.variant) {
SDL_Rect src = { 16 * 14, 16 * 11, 32, 32 };
SDL_Rect d = { ttplayer.x - 32, ttplayer.y - 21, 128,
128 };
- SDL_SetTextureColorMod(tttxr, 255, 255, 255);
+ SDL_SetTextureColorMod(tttxr, 255, 0, 0);
SDL_RenderCopy(ttrdr, tttxr, &src, &d);
}
SDL_SetTextureColorMod(tttxr, 255, 255, 255);