summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-04 00:16:24 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-04 00:16:24 +0200
commit7fae683316db64e772fb82833d73860cc16cf03a (patch)
treed2c120d723c726141b9d38124bc89920bce721a9 /src/entities
parentMerge pull request #101 from gennariarmando/master (diff)
downloadre3-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.cpp2
-rw-r--r--src/entities/PlayerInfo.h2
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");