update mw2019 string ids
This commit is contained in:
parent
3ff9a1bb6a
commit
11827cffa9
@ -552,7 +552,7 @@ void assembler::assemble_field_variable(const gsc::instruction_ptr& inst)
|
||||
|
||||
script_->write<std::uint32_t>(field_id);
|
||||
|
||||
if (field_id > 0x13160) // 0xE2C0 or 0x13160
|
||||
if (field_id > 0x13738)
|
||||
{
|
||||
stack_->write<std::uint32_t>(0);
|
||||
stack_->write_c_string(inst->data[0]);
|
||||
|
@ -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::string field_name;
|
||||
|
||||
if(field_id > 0x13160) // 0xE2C0 or 0x13160
|
||||
if(field_id > 0x13738)
|
||||
{
|
||||
auto temp = stack_->read<std::uint32_t>();
|
||||
field_name = temp == 0 ? stack_->read_c_string() : std::to_string(temp);
|
||||
|
Loading…
Reference in New Issue
Block a user