mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
Codechange: Move RawText::GetEncodedText() out of header.
This allows it to use StringID without polluting includes.
This commit is contained in:
committed by
Peter Nelson
parent
3b178bf58d
commit
4ffbf97770
@@ -20,6 +20,10 @@
|
||||
|
||||
#include "../../safeguards.h"
|
||||
|
||||
EncodedString RawText::GetEncodedText()
|
||||
{
|
||||
return ::GetEncodedString(STR_JUST_RAW_STRING, this->text);
|
||||
}
|
||||
|
||||
ScriptText::ScriptText(HSQUIRRELVM vm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user