Skip to content

Commit a45bf99

Browse files
author
saml1er
authored
Merge branch 'master' into custom_ifp_animations
2 parents dc8ef5c + 554a27d commit a45bf99

File tree

5 files changed

+2
-37
lines changed

5 files changed

+2
-37
lines changed

Client/core/CSettings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,6 @@ void CSettings::CreateGUI(void)
997997
m_pDebugSettingCombo->AddItem("#0000 Lua trace")->SetData((void*)EDiagnosticDebug::LUA_TRACE_0000);
998998
m_pDebugSettingCombo->AddItem("#0000 Resize always")->SetData((void*)EDiagnosticDebug::RESIZE_ALWAYS_0000);
999999
m_pDebugSettingCombo->AddItem("#0000 Resize never")->SetData((void*)EDiagnosticDebug::RESIZE_NEVER_0000);
1000-
m_pDebugSettingCombo->AddItem("#0000 Marker pulse")->SetData((void*)EDiagnosticDebug::MARKER_PULSE);
10011000
m_pDebugSettingCombo->SetReadOnly(true);
10021001
vecTemp.fY += fLineHeight;
10031002

Client/mods/deathmatch/logic/CClientEntity.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ CClientEntity::CClientEntity(ElementID ID) : ClassInit(this)
6060
g_pCore->UpdateDummyProgress();
6161
}
6262

63-
#pragma inline_depth(0)
6463
CClientEntity::~CClientEntity(void)
6564
{
6665
// Make sure we won't get deleted later by the element deleter if we've been requested so
@@ -165,7 +164,6 @@ CClientEntity::~CClientEntity(void)
165164
g_pCore->GetGraphics()->GetRenderItemManager()->RemoveClientEntityRefs(this);
166165
g_pCore->UpdateDummyProgress();
167166
}
168-
#pragma inline_depth(254)
169167

170168
// Static function
171169
// bool CClientEntity::IsValidEntity ( CClientEntity* pEntity )

Client/mods/deathmatch/logic/CClientMarkerManager.cpp

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -53,43 +53,12 @@ void CClientMarkerManager::DeleteAll(void)
5353

5454
void CClientMarkerManager::DoPulse(void)
5555
{
56-
uint uiSkipCount = 0;
57-
uint uiAddCount = 0;
5856
m_Markers.SuspendModifyOperations();
5957
// Pulse all our markers
6058
CFastList<CClientMarker*>::const_iterator iter = m_Markers.begin();
6159
for (; iter != m_Markers.end(); iter++)
6260
{
63-
bool bSkip = false;
64-
for (auto suspended : m_Markers.m_SuspendedOperationList)
65-
{
66-
if (suspended.item == (*iter))
67-
bSkip = true;
68-
}
69-
if (!bSkip)
70-
(*iter)->DoPulse();
71-
else
72-
uiSkipCount++;
73-
}
74-
75-
for (uint i = 0; i < m_Markers.m_SuspendedOperationList.size(); i++)
76-
{
77-
auto suspended = m_Markers.m_SuspendedOperationList[i];
78-
if (suspended.operation != CFastList<CClientMarker*>::EOperation::Remove)
79-
{
80-
suspended.item->DoPulse();
81-
uiAddCount++;
82-
}
61+
(*iter)->DoPulse();
8362
}
8463
m_Markers.ResumeModifyOperations();
85-
86-
// Debug logging
87-
static uint uiSkipCountNonZeroes = 0;
88-
static uint uiAddCountNonZeroes = 0;
89-
if ((uiSkipCount && uiSkipCountNonZeroes < 5) || (uiAddCount && uiAddCountNonZeroes < 5))
90-
{
91-
uiSkipCountNonZeroes += (uiSkipCount ? 1 : 0);
92-
uiAddCountNonZeroes += (uiAddCount ? 1 : 0);
93-
AddReportLog(4450, SString("CClientMarkerManager::DoPulse uiSkipCount:%d uiAddCount:%d", uiSkipCount, uiAddCount));
94-
}
9564
}

Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ bool CStaticFunctionDefinitions::SetPlayerNametagShowing(CClientEntity& Entity,
19271927
{
19281928
RUN_CHILDREN(SetPlayerNametagShowing(**iter, bShowing))
19291929

1930-
if (IS_PED(&Entity))
1930+
if (IS_PLAYER(&Entity))
19311931
{
19321932
CClientPlayer& Player = static_cast<CClientPlayer&>(Entity);
19331933

Shared/sdk/SharedUtil.Game.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ namespace SharedUtil
9999
LUA_TRACE_0000,
100100
RESIZE_ALWAYS_0000,
101101
RESIZE_NEVER_0000,
102-
MARKER_PULSE,
103102
MAX,
104103
};
105104
};

0 commit comments

Comments
 (0)