diff --git a/rwengine/src/data/GameTexts.hpp b/rwengine/src/data/GameTexts.hpp index 0c8baeab..6ef2ff9a 100644 --- a/rwengine/src/data/GameTexts.hpp +++ b/rwengine/src/data/GameTexts.hpp @@ -50,7 +50,7 @@ public: m_strings.emplace(id, text); } - GameString text(const GameStringKey& id) { + GameString text(const GameStringKey& id) const { auto a = m_strings.find(id); if (a != m_strings.end()) { return a->second; diff --git a/rwgame/RWGame.cpp b/rwgame/RWGame.cpp index 1c94256d..4df030d3 100644 --- a/rwgame/RWGame.cpp +++ b/rwgame/RWGame.cpp @@ -12,8 +12,6 @@ #include #include #include -#include -#include #include