Merge pull request #92 from InfoTeddy/general-bug-fixes

Don't render "[Press ENTER to return to editor]" if "- Press ACTION to advance text -" is also being rendered
This commit is contained in:
Terry Cavanagh
2020-01-17 14:18:47 +01:00
committed by GitHub

View File

@@ -1558,7 +1558,7 @@ void gamerender(Graphics& dwgfx, mapclass& map, Game& game, entityclass& obj, Ut
} }
} }
if(map.custommode && !map.custommodeforreal){ if(map.custommode && !map.custommodeforreal && !game.advancetext){
//Return to level editor //Return to level editor
dwgfx.bprint(5, 5, "[Press ENTER to return to editor]", 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2), false); dwgfx.bprint(5, 5, "[Press ENTER to return to editor]", 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2), false);
} }