diff --git a/src/game/boe.newgraph.cpp b/src/game/boe.newgraph.cpp index f192cf75..096198ef 100644 --- a/src/game/boe.newgraph.cpp +++ b/src/game/boe.newgraph.cpp @@ -35,6 +35,7 @@ #include "replay.hpp" #include #include +#include short monsters_faces[190] = { 0,1,2,3,4,5,6,7,8,9, @@ -995,6 +996,13 @@ void place_talk_str(std::string str_to_place,std::string str_to_place2,short col // First determine the offsets of clickable words. // The added spaces ensure that end-of-word boundaries are found std::string str = str_to_place + " |" + str_to_place2 + " "; + + // TODO use a font where we don't need this + extern std::map substitutions; + for(auto it : substitutions){ + boost::replace_all(str, it.first, it.second); + } + std::vector hilites; std::vector nodes; int wordStart = 0, wordEnd = 0;