Skip to content

Commit 5abb593

Browse files
committed
LDB EventCommands LcfWriter reencodes the string now before writing.
Fixes #196
1 parent d1d1c41 commit 5abb593

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ldb_eventcommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void RawStruct<RPG::EventCommand>::WriteLcf(const RPG::EventCommand& event_comma
4545
stream.Write(event_command.code);
4646
stream.Write(event_command.indent);
4747
stream.WriteInt(stream.Decode(event_command.string).size());
48-
stream.Write(event_command.string);
48+
stream.Write(stream.Decode(event_command.string));
4949
int count = event_command.parameters.size();
5050
stream.Write(count);
5151
for (int i = 0; i < count; i++)

0 commit comments

Comments
 (0)