1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00

Fix opcode_03e5

https://github.com/Lighnat0r/GTA-III-SCM-Converted/blob/master/
02_wanted.sc
As you can see there's no another cleaning functionality,
so 03e5 should clean after itself.
This commit is contained in:
Filip Gawin 2018-08-15 02:44:32 +02:00 committed by Daniel Evans
parent ae0192333f
commit 884e035602

View File

@ -11481,6 +11481,7 @@ void opcode_03e4(const ScriptArguments& args, const ScriptBoolean arg1) {
@arg gxtEntry GXT entry
*/
void opcode_03e5(const ScriptArguments& args, const ScriptString gxtEntry) {
args.getState()->text.clear<ScreenTextType::Big>();
args.getState()->text.addText<ScreenTextType::Big>(
ScreenTextEntry::makeHelp(gxtEntry, script::gxt(args, gxtEntry)));
}