diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-18 20:19:30 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-18 20:19:30 +0100 |
commit | c09297997e9878f06e6cd513e26cbbe50ae860fb (patch) | |
tree | 810b97cfd49a9c3b43a3a3f1803d2e04f9c87ce9 /src/control/GameLogic.cpp | |
parent | Merge branch 'lcs' into lcs-dev (diff) | |
download | re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.tar re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.tar.gz re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.tar.bz2 re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.tar.lz re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.tar.xz re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.tar.zst re3-c09297997e9878f06e6cd513e26cbbe50ae860fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/GameLogic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index 93e6c67d..d17c5b04 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -45,6 +45,7 @@ float CGameLogic::AfterDeathStartPointOrientation[NUM_SHORTCUT_START_POINTS]; CVector CGameLogic::ShortCutDropOffForMission; float CGameLogic::ShortCutDropOffOrientationForMission; bool CGameLogic::MissionDropOffReadyToBeUsed; +char CGameLogic::mStoredPlayerOutfit[8] = "plr3"; //--MIAMI: file done @@ -90,7 +91,7 @@ CGameLogic::SortOutStreamingAndMemory(const CVector &pos) CStreaming::DeleteRwObjectsAfterDeath(pos); CStreaming::RemoveUnusedModelsInLoadedList(); CGame::DrasticTidyUpMemory(true); - CWorld::Players[CWorld::PlayerInFocus].m_pPed->Undress("player"); + CWorld::Players[CWorld::PlayerInFocus].m_pPed->Undress(mStoredPlayerOutfit); CStreaming::LoadSceneCollision(pos); CStreaming::LoadScene(pos); CWorld::Players[CWorld::PlayerInFocus].m_pPed->Dress(); |