diff --git a/desktop_version/src/titlerender.cpp b/desktop_version/src/titlerender.cpp index 64f60b95..da1c77de 100644 --- a/desktop_version/src/titlerender.cpp +++ b/desktop_version/src/titlerender.cpp @@ -1604,6 +1604,7 @@ void gamerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, Ut } } +#if !defined(NO_CUSTOM_LEVELS) if(map.custommode && !map.custommodeforreal && !game.advancetext){ //Return to level editor dwgfx.bprintalpha(5, 5, "[Press ENTER to return to editor]", 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2), ed.returneditoralpha, false); @@ -1611,6 +1612,7 @@ void gamerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, Ut ed.returneditoralpha -= 15; } } +#endif dwgfx.cutscenebars();