mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
windows: fix 64bit build( #149 )
This commit is contained in:
parent
9bca259e0f
commit
eff77f0a0a
@ -158,7 +158,7 @@ void CClientThinkList::RemoveThinkable( ClientThinkHandle_t hThink )
|
||||
{
|
||||
pThink->SetThinkHandle( INVALID_THINK_HANDLE );
|
||||
}
|
||||
m_ThinkEntries.Remove( (unsigned long)hThink );
|
||||
m_ThinkEntries.Remove( (uintp)hThink );
|
||||
}
|
||||
|
||||
|
||||
@ -304,7 +304,7 @@ void CClientThinkList::PerformThinkFunctions()
|
||||
if ( hThink != INVALID_THINK_HANDLE )
|
||||
{
|
||||
// This can happen if the same think handle was removed twice
|
||||
if ( !m_ThinkEntries.IsInList( (unsigned long)hThink ) )
|
||||
if ( !m_ThinkEntries.IsInList( (uintp)hThink ) )
|
||||
continue;
|
||||
|
||||
// NOTE: This is necessary for the case where the client entity handle
|
||||
|
@ -121,7 +121,7 @@ inline ClientThinkHandle_t CClientThinkList::GetInvalidThinkHandle()
|
||||
|
||||
inline CClientThinkList::ThinkEntry_t* CClientThinkList::GetThinkEntry( ClientThinkHandle_t hThink )
|
||||
{
|
||||
return &m_ThinkEntries[ (unsigned long)hThink ];
|
||||
return &m_ThinkEntries[ (uintp)hThink ];
|
||||
}
|
||||
|
||||
|
||||
|
@ -1337,7 +1337,7 @@ void CClientLeafSystem::ComputeTranslucentRenderLeaf( int count, const LeafIndex
|
||||
|
||||
static CUtlVector<RenderableInfo_t *> orderedList; // @MULTICORE (toml 8/30/2006): will need to make non-static if thread this function
|
||||
static CUtlVector<IClientRenderable *> renderablesToUpdate;
|
||||
int leaf = 0;
|
||||
intp leaf = 0;
|
||||
for ( i = 0; i < count; ++i )
|
||||
{
|
||||
leaf = pLeafList[i];
|
||||
|
2
ivp
2
ivp
@ -1 +1 @@
|
||||
Subproject commit dfa42eb575618661a9c41c2ed635c1b9a0a51858
|
||||
Subproject commit 960c7228f8e8d710625891991e88b1ec3aa92e45
|
@ -19,7 +19,7 @@ namespace memutils
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
inline void set( T *dest, T value, size_t n )
|
||||
inline void set( T *dest, const T &value, size_t n )
|
||||
{
|
||||
do
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user