1
0
mirror of https://github.com/td512/re3.git synced 2026-01-18 10:41:55 +00:00
td512.re3/src/weapons/WeaponInfo.cpp
eray orçunus 7cfff963f7 Big CPed update
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
2019-06-20 17:31:14 +03:00

14 lines
371 B
C++

#include "common.h"
#include "patcher.h"
#include "WeaponInfo.h"
CWeaponInfo (&CWeaponInfo::ms_apWeaponInfos)[14] = * (CWeaponInfo(*)[14]) * (uintptr*)0x6503EC;
CWeaponInfo*
CWeaponInfo::GetWeaponInfo(eWeaponType weaponType) {
return &CWeaponInfo::ms_apWeaponInfos[weaponType];
}
STARTPATCHES
InjectHook(0x564FD0, &CWeaponInfo::GetWeaponInfo, PATCH_JUMP);
ENDPATCHES