diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-04 00:16:24 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-04 00:16:24 +0200 |
commit | 7fae683316db64e772fb82833d73860cc16cf03a (patch) | |
tree | d2c120d723c726141b9d38124bc89920bce721a9 /src/entities | |
parent | Merge pull request #101 from gennariarmando/master (diff) | |
download | re3-7fae683316db64e772fb82833d73860cc16cf03a.tar re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.gz re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.bz2 re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.lz re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.xz re3-7fae683316db64e772fb82833d73860cc16cf03a.tar.zst re3-7fae683316db64e772fb82833d73860cc16cf03a.zip |
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/PlayerInfo.cpp | 2 | ||||
-rw-r--r-- | src/entities/PlayerInfo.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/entities/PlayerInfo.cpp b/src/entities/PlayerInfo.cpp index 796481a4..59efe2ae 100644 --- a/src/entities/PlayerInfo.cpp +++ b/src/entities/PlayerInfo.cpp @@ -1,3 +1,5 @@ #include "common.h" #include "patcher.h" #include "PlayerInfo.h" + +WRAPPER void CPlayerInfo::MakePlayerSafe(bool) { EAXJMP(0x4A1400); }
\ No newline at end of file diff --git a/src/entities/PlayerInfo.h b/src/entities/PlayerInfo.h index 79f379d5..e2b42fe7 100644 --- a/src/entities/PlayerInfo.h +++ b/src/entities/PlayerInfo.h @@ -65,6 +65,8 @@ public: bool m_bGetOutOfHospitalFree; uint8 m_aSkinName[32]; RwTexture *m_pSkinTexture; + + void MakePlayerSafe(bool); }; static_assert(sizeof(CPlayerInfo) == 0x13C, "CPlayerInfo: error"); |