diff --git a/Source/automap.cpp b/Source/automap.cpp index 92cc4fc70..92037237b 100644 --- a/Source/automap.cpp +++ b/Source/automap.cpp @@ -17,6 +17,7 @@ #include "engine/render/primitive_render.hpp" #include "levels/gendung.h" #include "levels/setmaps.h" +#include "options.h" #include "player.h" #include "utils/attributes.h" #include "utils/enum_traits.h" @@ -1411,6 +1412,10 @@ void DrawAutomapText(const Surface &out) { Point linePosition { 8, 8 }; + if (*GetOptions().Graphics.showFPS) { + linePosition.y += 15; + } + if (gbIsMultiplayer) { if (GameName != "0.0.0.0" && !IsLoopback) { std::string description = std::string(_("Game: ")); diff --git a/Source/engine/render/scrollrt.cpp b/Source/engine/render/scrollrt.cpp index 1f5d0ee41..662d49b58 100644 --- a/Source/engine/render/scrollrt.cpp +++ b/Source/engine/render/scrollrt.cpp @@ -1369,7 +1369,7 @@ void DrawFPS(const Surface &out) : BufCopy(buf, fps / FpsPow10, ".", fps % FpsPow10, " FPS"); formatted = { buf, static_cast(end - buf) }; }; - DrawString(out, formatted, Point { 8, 68 }, { .flags = UiFlags::ColorRed }); + DrawString(out, formatted, Point { 8, 8 }, { .flags = UiFlags::ColorRed }); } /**