summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-04 00:20:16 +0200
committerGitHub <noreply@github.com>2019-07-04 00:20:16 +0200
commit9e5a2fd50962a9ae86cde8655b3e898b45389fe7 (patch)
treed2c120d723c726141b9d38124bc89920bce721a9 /src/entities
parentMerge pull request #101 from gennariarmando/master (diff)
parentScript stuff + bug fixes (diff)
downloadre3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.gz
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.bz2
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.lz
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.xz
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.tar.zst
re3-9e5a2fd50962a9ae86cde8655b3e898b45389fe7.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");