[Weapon] Fix sentry icon
This commit is contained in:
parent
671a0b276d
commit
62edf9f7cf
@ -376,11 +376,11 @@ namespace Components
|
|||||||
Utils::Hook::Set(0x59C09D, cg_weaponsStaticArray);
|
Utils::Hook::Set(0x59C09D, cg_weaponsStaticArray);
|
||||||
|
|
||||||
// TODO: Check the offsets, icons are still wrong, but at least crashes are 'fixed'
|
// TODO: Check the offsets, icons are still wrong, but at least crashes are 'fixed'
|
||||||
static int unknownMaterialArray[WEAPON_LIMIT + 0x10];
|
static int unknownMaterialArray[WEAPON_LIMIT + 4];
|
||||||
Utils::Hook::Set(0x58D003, unknownMaterialArray);
|
Utils::Hook::Set(0x58D003, unknownMaterialArray);
|
||||||
Utils::Hook::Set(0x58969A, &unknownMaterialArray[0xC]);
|
Utils::Hook::Set(0x58969A, &unknownMaterialArray[3]);
|
||||||
Utils::Hook::Set(0x4EF619, &unknownMaterialArray[0x10]);
|
Utils::Hook::Set(0x4EF619, &unknownMaterialArray[4]);
|
||||||
Utils::Hook::Set(0x5896AB, &unknownMaterialArray[0x10]);
|
Utils::Hook::Set(0x5896AB, &unknownMaterialArray[4]);
|
||||||
|
|
||||||
// Has to do with fx, but somehow lies within the material array
|
// Has to do with fx, but somehow lies within the material array
|
||||||
//Utils::Hook::Set(0x402069, unknownArray);
|
//Utils::Hook::Set(0x402069, unknownArray);
|
||||||
|
Loading…
Reference in New Issue
Block a user