Script stuff + bug fixes

This commit is contained in:
Nikolay Korolev
2019-07-04 01:16:24 +03:00
parent 92af18c165
commit 7fae683316
16 changed files with 288 additions and 15 deletions

View File

@ -1,3 +1,5 @@
#include "common.h"
#include "patcher.h"
#include "PlayerInfo.h"
WRAPPER void CPlayerInfo::MakePlayerSafe(bool) { EAXJMP(0x4A1400); }

View File

@ -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");