Skip to content

Commit

Permalink
Make 3118 and 3553 usable (#1870)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Nov 24, 2020
1 parent a853ae8 commit 5fc3ae9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Client/game_sa/CGameSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ void CGameSA::Initialize()
// Initialize garages
m_pGarages->Initialize();
SetupSpecialCharacters();
SetupBrokenModels();
m_pRenderWare->Initialize();

// *Sebas* Hide the GTA:SA Main menu.
Expand Down Expand Up @@ -814,6 +815,12 @@ void CGameSA::SetupSpecialCharacters()
*/
}

void CGameSA::SetupBrokenModels()
{
ModelInfo[3118].GetInterface()->pColModel = ModelInfo[3059].GetInterface()->pColModel;
ModelInfo[3553].GetInterface()->pColModel = ModelInfo[3554].GetInterface()->pColModel;
}

// Well, has it?
bool CGameSA::HasCreditScreenFadedOut()
{
Expand Down
1 change: 1 addition & 0 deletions Client/game_sa/CGameSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ class CGameSA : public CGame
bool HasCreditScreenFadedOut();

void SetupSpecialCharacters();
void SetupBrokenModels();
CWeapon* CreateWeapon();
CWeaponStat* CreateWeaponStat(eWeaponType weaponType, eWeaponSkill weaponSkill);
void FlushPendingRestreamIPL();
Expand Down

0 comments on commit 5fc3ae9

Please sign in to comment.