Move y-position assignment into its most intended branch

This is a code style fix.
This commit is contained in:
Info Teddy authored and Ethan Lee committed 2020-01-25 23:29:37 -05:00
1 parent 2709de9cf0
commit b79f0daa5f
1 file changed
+1 -1
+1 -1
View File
@@ -3447,9 +3447,9 @@ void editorrender( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, ent
{
if(ed.roomnamehide<12) ed.roomnamehide++;
}
dwgfx.footerrect.y = 230+ed.roomnamehide;
if (dwgfx.translucentroomname)
{
dwgfx.footerrect.y = 230+ed.roomnamehide;
SDL_BlitSurface(dwgfx.footerbuffer, NULL, dwgfx.backBuffer, &dwgfx.footerrect);
}
else