mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-22 10:12:20 +00:00
Исправлено предупреждение о производительности
This commit is contained in:
parent
424fc2dfd3
commit
14eae5496a
@ -85,7 +85,7 @@ void CMonoDomain::Unload( void )
|
|||||||
|
|
||||||
bool CMonoDomain::Set( bool bForce )
|
bool CMonoDomain::Set( bool bForce )
|
||||||
{
|
{
|
||||||
return mono_domain_set( this->m_pDomain, bForce );
|
return mono_domain_set( this->m_pDomain, static_cast<mono_bool>( bForce ) ) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
MonoAssembly* CMonoDomain::OpenAssembly( const char *szName )
|
MonoAssembly* CMonoDomain::OpenAssembly( const char *szName )
|
||||||
|
Loading…
Reference in New Issue
Block a user