1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 18:19:43 +01:00

Override custommode if in finalmode when drawing tilesvec

When in finalmode, custommode shouldn't take priority, as finalmode is
main game stuff.
This commit is contained in:
Misa 2020-06-13 19:24:59 -07:00 committed by Ethan Lee
parent 2d49988f5d
commit da1b58d771

View file

@ -1443,7 +1443,7 @@ void Graphics::drawentities()
SDL_Rect drawRect; SDL_Rect drawRect;
std::vector<SDL_Surface*> *tilesvec; std::vector<SDL_Surface*> *tilesvec;
if (map.custommode) if (map.custommode && !map.finalmode)
{ {
tilesvec = &entcolours; tilesvec = &entcolours;
} }