Skip to content

Commit

Permalink
Cleanup comments from multitheftauto#3172
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Oct 14, 2023
1 parent f886a35 commit ff5cd3c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions Client/game_sa/CModelInfoSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,6 @@ bool CModelInfoSA::Render(CMatrix& matrix)
{
CBaseModelInfoSAInterface* pModelInfoSAInterface = GetInterface();
RwObject* pRwObject = pModelInfoSAInterface->pRwObject;
// RwEngineInstance->dOpenDevice.fpRenderStateSet(rwRENDERSTATEALPHATESTFUNCTIONREF, 100u);
RwFrame* pFrame = RpGetFrame(pRwObject);
RwFrameSetIdentity(pFrame);
RwMatrix rwMatrix;
Expand All @@ -2115,7 +2114,6 @@ bool CModelInfoSA::Render(CMatrix& matrix)
rwMatrix.pos = (RwV3d&)matrix.vPos;
RwFrameTransform(pFrame, &rwMatrix, rwCOMBINEREPLACE);
RwFrameUpdateObjects(pFrame);
//RwFrameRotate(pFrame, &yaxis, rotation.fX, RwOpCombineType::rwCOMBINEREPLACE);

if (pRwObject->type == RP_TYPE_ATOMIC)
{
Expand Down
5 changes: 0 additions & 5 deletions Client/mods/deathmatch/logic/CClientGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3726,11 +3726,6 @@ void CClientGame::ProjectileInitiateHandler(CClientProjectile* pProjectile)

void CClientGame::Render3DStuffHandler()
{
//auto modelInfo = g_pGame->GetModelInfo(1632);
//if (!modelInfo->IsLoaded())
// return;

//modelInfo->Render(CVector(0,30,6.0f));
}

void CClientGame::PreRenderSkyHandler()
Expand Down
3 changes: 1 addition & 2 deletions Client/multiplayer_sa/CMultiplayerSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3053,8 +3053,7 @@ void _declspec(naked) HOOK_Render3DStuff()
{
pushad
}
//if (m_pRender3DStuffHandler) m_pRender3DStuffHandler();


_asm
{
popad
Expand Down

0 comments on commit ff5cd3c

Please sign in to comment.