1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-05 02:39:41 +01:00

Fix regression: Foreground redraw after G keybind

This fixes a regression from 2.4 where the foreground wouldn't update
after using the G keybind to go to a room, requiring the user to touch a
tile to update the rendering.
This commit is contained in:
Misa 2024-06-02 22:52:44 -07:00 committed by Misa Elizabeth Kai
parent 16d75d2da8
commit a9d43b543f

View file

@ -2105,6 +2105,7 @@ static void input_submitted(void)
ed.levx = SDL_clamp(help.Int(coord_x) - 1, 0, cl.mapwidth - 1);
ed.levy = SDL_clamp(help.Int(coord_y) - 1, 0, cl.mapheight - 1);
graphics.foregrounddrawn = false;
graphics.backgrounddrawn = false;
break;
}