fix hook
This commit is contained in:
parent
62d8d0f2f4
commit
e90f0a2343
@ -227,8 +227,12 @@ namespace materials
|
|||||||
material_register_handle_hook.create(game::Material_RegisterHandle, material_register_handle_stub);
|
material_register_handle_hook.create(game::Material_RegisterHandle, material_register_handle_stub);
|
||||||
db_material_streaming_fail_hook.create(SELECT_VALUE(0x1FB400_b, 0x3A1600_b), db_material_streaming_fail_stub);
|
db_material_streaming_fail_hook.create(SELECT_VALUE(0x1FB400_b, 0x3A1600_b), db_material_streaming_fail_stub);
|
||||||
db_get_material_index_hook.create(SELECT_VALUE(0x1F1D80_b, 0x396000_b), db_get_material_index_stub);
|
db_get_material_index_hook.create(SELECT_VALUE(0x1F1D80_b, 0x396000_b), db_get_material_index_stub);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
material_compare_hook.create(0x693D1E_b, material_compare_stub);
|
if (!game::environment::is_sp())
|
||||||
|
{
|
||||||
|
material_compare_hook.create(0x693B90_b, material_compare_stub);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user