mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Game: fix compile error
Invalid EHandles are always -1. INVALID_EHANDLE tag has been removed in commit 084f94aefd23e250f30f700acbe7cce343d78b75.
This commit is contained in:
parent
1c2c61a397
commit
90aa3a7bde
@ -104,9 +104,9 @@ CHandle<T>::CHandle( const CBaseHandle &handle )
|
||||
|
||||
|
||||
template<class T>
|
||||
inline CHandle<T>::CHandle( T *pObj )
|
||||
: CBaseHandle( INVALID_EHANDLE )
|
||||
CHandle<T>::CHandle( T *pObj )
|
||||
{
|
||||
Term();
|
||||
Set( pObj );
|
||||
}
|
||||
|
||||
@ -189,9 +189,4 @@ T* CHandle<T>::operator -> () const
|
||||
return Get();
|
||||
}
|
||||
|
||||
// specialization of EnsureValidValue for CHandle<T>
|
||||
template<typename T>
|
||||
FORCEINLINE void EnsureValidValue( CHandle<T> &x ) { x = INVALID_EHANDLE; }
|
||||
|
||||
|
||||
#endif // EHANDLE_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user