diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index bd8fdf58..030ccbe1 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -566,7 +566,7 @@ struct S_GuildCardSearchResult_BB_41 : S_GuildCardSearchResult name; - le_uint16_t unused; + parray unused; le_uint16_t flags; // 0 = download quest, 2 = online quest, 3 = Episode 3 ptext filename; le_uint32_t file_size; diff --git a/src/SendCommands.cc b/src/SendCommands.cc index e8ced1a0..1c27d633 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -1375,7 +1375,7 @@ void send_quest_open_file_t( default: throw logic_error("invalid quest file type"); } - cmd.unused = 0; + cmd.unused.clear(); cmd.file_size = file_size; cmd.filename = filename.c_str(); send_command_t(c, command_num, 0x00, cmd);