Reduce a bit the size of getHT
Factoring common code parts outside of a template
is apparently a good practise to reduce code duplication
(and the size of openmw by around 0.5%),
and should improve a bit the performances,
since the whole std::to_string
* 2 + string concatenation
dance results in quite a lot of code, preventing inlining on my machine.
Edited by jvoisin