1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Move y-position assignment into its most intended branch

This is a code style fix.
This commit is contained in:
Info Teddy 2020-01-25 18:24:04 -08:00 committed by Ethan Lee
parent 2709de9cf0
commit b79f0daa5f

View file

@ -3447,9 +3447,9 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
{ {
if(ed.roomnamehide<12) ed.roomnamehide++; if(ed.roomnamehide<12) ed.roomnamehide++;
} }
dwgfx.footerrect.y = 230+ed.roomnamehide;
if (dwgfx.translucentroomname) if (dwgfx.translucentroomname)
{ {
dwgfx.footerrect.y = 230+ed.roomnamehide;
SDL_BlitSurface(dwgfx.footerbuffer, NULL, dwgfx.backBuffer, &dwgfx.footerrect); SDL_BlitSurface(dwgfx.footerbuffer, NULL, dwgfx.backBuffer, &dwgfx.footerrect);
} }
else else