update vanguard string ids

This commit is contained in:
xensik 2021-11-13 12:00:24 +01:00
parent a23e072d90
commit 12f0463479
2 changed files with 2 additions and 2 deletions

View File

@ -552,7 +552,7 @@ void assembler::assemble_field_variable(const gsc::instruction_ptr& inst)
script_->write<std::uint32_t>(field_id); script_->write<std::uint32_t>(field_id);
if (field_id > 0x1C000) if (field_id > 0x110F3)
{ {
stack_->write<std::uint32_t>(0); stack_->write<std::uint32_t>(0);
stack_->write_c_string(inst->data[0]); stack_->write_c_string(inst->data[0]);

View File

@ -438,7 +438,7 @@ void disassembler::disassemble_field_variable(const gsc::instruction_ptr& inst)
std::uint32_t field_id = script_->read<std::uint32_t>(); std::uint32_t field_id = script_->read<std::uint32_t>();
std::string field_name; std::string field_name;
if(field_id > 0x1C000) if(field_id > 0x110F3)
{ {
auto temp = stack_->read<std::uint32_t>(); auto temp = stack_->read<std::uint32_t>();
field_name = temp == 0 ? stack_->read_c_string() : std::to_string(temp); field_name = temp == 0 ? stack_->read_c_string() : std::to_string(temp);